I used CESIUM_RTC_MODELVIEW in my light transform as it worked fine for me.
However it’s what I thought, it seems that the for the shader for models located in the Southern hemisphere does not work, the light vector in my fragment shader that I get from my transform VS
To be honest I started using CESIUM_RTC_MODELVIEW as my lightTransfrom matric, as I noticed it worked, but it’s not something that seems very logical to me.
Would you have any recommendation about the matrix I should be using
Is the goal to be able to get the sun’s direction in your custom shader? You might find the shader CesiumJS generates for models a useful reference. Here’s where the light direction is computed: