Closed elo58 closed 1 year ago
If we create two instances of CSM, there is an issue with the injectInclude method from CSM's ctor. Some code parts of the shader are added two times and so, the shader's compilation fails.
I have created a pull request to fix this behaviour.
I've merged your PR, thanks.
If we create two instances of CSM, there is an issue with the injectInclude method from CSM's ctor. Some code parts of the shader are added two times and so, the shader's compilation fails.