Fix ShadowMap doesn't apply blendshape 91/310791/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 8 May 2024 07:53:45 +0000 (16:53 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 8 May 2024 07:53:45 +0000 (16:53 +0900)
There was some issue that blendshape with position doesn't works well
when we use shadow.

Change-Id: I9278a02229ef2701c7e0cf3313b06f5cab51a833
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-scene3d/internal/graphics/shaders/shadow-map-shader.vert

index c0a873d6ee46ab1bff0fc0fb3ad711a7ef577c35..521870098c45e15184da5c9910834dd794eb6759 100644 (file)
@@ -1,3 +1,4 @@
+#define MORPH defined(MORPH_POSITION) || defined(MORPH_NORMAL) || defined(MORPH_TANGENT)
 
 #define ADD_EXTRA_SKINNING_ATTRIBUTES
 #define ADD_EXTRA_WEIGHTS