[Tizen] Fix bug that IBLFactor / Roughness not works well when we change material 07/304107/1 accepted/tizen/7.0/unified/20240111.013537
authorEunki Hong <eunkiki.hong@samsung.com>
Fri, 5 Jan 2024 16:01:50 +0000 (01:01 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 10 Jan 2024 06:09:50 +0000 (15:09 +0900)
commit736d5c18c213acf89263fe1b031fed76a1960a39
tree4283a1dc243eab0d1b97e7a4276911cc8fb28f0e
parent1177f6f76f1b4eebd5e0251316edf7f3d8250e2f
[Tizen] 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: Ic14b7f9b6c0e443ac17188a8968ac71a7c6328d6
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-scene3d/utc-Dali-Model.cpp
dali-scene3d/internal/model-components/material-impl.cpp
dali-scene3d/internal/model-components/model-primitive-impl.cpp