Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2021-06-30 22:12:17 +0300
committerClément Foucault <foucault.clem@gmail.com>2021-07-01 00:55:37 +0300
commitc4a3ba6f83d98d2f161b42ed7a8c496121f34b89 (patch)
treeb0b230d61054589360f7cc0afe0a078ebb05d393 /source/blender/draw/engines/eevee/eevee_instance.hh
parente962002db2be9f4388b6809cab04506b8c3f327a (diff)
EEVEE: Hair: Add back shaded hair support
Same implementation as before but it is less intrusive towards the shading Node glsl code. Hair shaders also now supports displacement.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_instance.hh')
-rw-r--r--source/blender/draw/engines/eevee/eevee_instance.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_instance.hh b/source/blender/draw/engines/eevee/eevee_instance.hh
index 27aa69e8fcc..a6d59c445d1 100644
--- a/source/blender/draw/engines/eevee/eevee_instance.hh
+++ b/source/blender/draw/engines/eevee/eevee_instance.hh
@@ -168,6 +168,7 @@ class Instance {
void mesh_sync(Object *ob, ObjectHandle &ob_handle);
void gpencil_sync(Object *ob, ObjectHandle &ob_handle);
+ void hair_sync(Object *ob, ObjectHandle &ob_handle, ModifierData *modifier_data = nullptr);
rcti output_crop(const int output_res[2], const rcti *crop);