Add CastShadow and ReceiveShadow for Model and ModelNode 61/307061/3
authorSeungho Baek <sbsh.baek@samsung.com>
Mon, 4 Mar 2024 09:08:27 +0000 (18:08 +0900)
committerSeungho Baek <sbsh.baek@samsung.com>
Fri, 8 Mar 2024 04:27:43 +0000 (13:27 +0900)
commit7892a19ca3a420eb54bcafa007d82bb5fe44c55c
tree9e4ca67fb1bd0092e0df5d2d68ac42d9d970579d
parent25a048bee3efc9f047e5cd91d6e438eb9245c18c
Add CastShadow and ReceiveShadow for Model and ModelNode

 - CastShadow can be used to make an object cast shadow or not.
 - ReceiveShadow can be used to make an object be not drawn any shadow on its surface.
 - Model and ModelNode have the methods.
 - If Model's method is called, it is inherited to its current child ModelNode.
 - If ModelNode's method is called, it is only affects the ModelNode itself.
 - The ModelNode's property changes do not affect its parent Model's property.

Change-Id: I8ebeeed9ed814718a38ad7f69c43a4814a5a70ae
Signed-off-by: Seungho Baek <sbsh.baek@samsung.com>
automated-tests/src/dali-scene3d/utc-Dali-Model.cpp
dali-scene3d/internal/controls/model/model-impl.cpp
dali-scene3d/internal/controls/model/model-impl.h
dali-scene3d/internal/graphics/shaders/default-physically-based-shader.frag
dali-scene3d/internal/graphics/shaders/shadow-map-shader.frag
dali-scene3d/internal/model-components/model-node-impl.cpp
dali-scene3d/internal/model-components/model-node-impl.h
dali-scene3d/public-api/controls/model/model.cpp
dali-scene3d/public-api/controls/model/model.h
dali-scene3d/public-api/model-components/model-node.cpp
dali-scene3d/public-api/model-components/model-node.h