diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-04-25 19:46:59 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-04-25 19:47:20 +0300 |
commit | 041a50291b73b727fdf8bc3192de2917e8563ce0 (patch) | |
tree | 4a01f82c9241b3fa3037ccdaac113d4a86be447e /source/blender/draw/intern/draw_cache_impl.h | |
parent | 00f5c621a65b6bc9847776b2542588835fb4054c (diff) |
Eevee: Make default shaders works.
- Added New Batch cache routine to get the split mesh for each material. (optimization needed)
- Did some shader modifications to create default_frag and support a somwhat correct fresnel for lamps (to finish)
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl.h')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl.h b/source/blender/draw/intern/draw_cache_impl.h index e4318aa576a..c988a5703dc 100644 --- a/source/blender/draw/intern/draw_cache_impl.h +++ b/source/blender/draw/intern/draw_cache_impl.h @@ -67,6 +67,7 @@ struct Batch *DRW_lattice_batch_cache_get_overlay_verts(struct Lattice *lt); /* Mesh */ +struct Batch **DRW_mesh_batch_cache_get_surface_shaded(struct Mesh *me); struct Batch *DRW_mesh_batch_cache_get_all_edges(struct Mesh *me); struct Batch *DRW_mesh_batch_cache_get_all_triangles(struct Mesh *me); struct Batch *DRW_mesh_batch_cache_get_triangles_with_normals(struct Mesh *me); |