[Tizen] Fix the 3D model rendering issue after the KHR_texture_transform etension... 59/304259/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 15 Jan 2024 02:25:24 +0000 (11:25 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 15 Jan 2024 02:30:56 +0000 (11:30 +0900)
commit25ee1ebe12c216003b525b23943f5b5a67fcd5fa
tree51f3aea6f35853c9f38eb23ce7d210639db805ff
parent69dbd7fd8b950e41acaaba3b470a3d89f8935223
[Tizen] Fix the 3D model rendering issue after the KHR_texture_transform etension support

Revert "[Tizen] Fix bug that IBLFactor / Roughness not works well when we change material"

This reverts commit 519b293f4452ddb4177af714e841c2b68a7335e5.

Fix the 3D model rendering issue after the KHR_texture_transform extension support

Fix bug that IBLFactor / Roughness not works well when we change material

There was some bug when we change Material info, uMaxLOD and uIblIntensity does not applied what primitive has.

This is because Material's SetUniform API overwrite the value of those uniform.

This patch make we ensure the order of uniform register, so let we use correct LOD and IBL intensity.

Change-Id: Id8e11744a9767402aa0e36e112093b79fb9b8f3f
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-scene3d/utc-Dali-Model.cpp
dali-scene3d/internal/graphics/shaders/default-physically-based-shader.vert
dali-scene3d/internal/model-components/material-impl.cpp
dali-scene3d/internal/model-components/model-primitive-impl.cpp
dali-scene3d/public-api/loader/material-definition.cpp
dali-scene3d/public-api/loader/node-definition.cpp