Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
Qt 3D Studio 2.0 BETA2
-
None
-
cd4d63f42b2f463cee2abb050e7db4b25c853771 52e15f5a192e196e3d8ab65de0766bee3b03d0a3
Description
The direction of area light is lighting the opposite direction it should be.
It seems that there is a difference on how the RT1.1 is setting the area light direction for custom and default materials. For custom material it is inverted, apparently because the shader code expects the direction in that way.
Instead of fixing the RT2.0 to set the direction the same way as RT1.1, this should be fixed so that both materials use the direction in same direction by changing the material shaders.
Attachments
For Gerrit Dashboard: QT3DS-1714 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
229881,2 | Fix custom material area light direction | 2.0 | qt3dstudio/qt3d-runtime | Status: MERGED | +2 | 0 |
229882,2 | Fix custom material area light direction | 2.0 | qt3dstudio/qt3dstudio | Status: MERGED | +2 | 0 |