I updated to the latest GitHub release and see that my shaders are not working anymore.
I can see that the way of initializing constants has changed.
Where can I find how this has changed?
In the shaders that come with the package I see that I need to go through initConstants(); But I don’t understand why in many occasions the index is multiplied by 4:
example:
vo.fragmentConstantsIndex = dataReg.index*4;
What is happening?