Hello team!
Is it possible to access the GLSL code which the physical Material is using? I couldn’t really find the code on GitHub. I saw a thread where someone extended the shader but cannot the place where the actual Code is located.
Thanks a ton!
Hi @Leonidas ,
sorry, I meant actually looking at the code.
https://github.com/playcanvas/engine/tree/master/src/graphics/program-lib/chunks
I think this is what I was looking for.
In combination with this class:
https://github.com/playcanvas/engine/blob/master/src/graphics/program-lib/programs/standard.js
You really went the full way creating an modular approach 
Cheers!
1 Like
Yes, you got it, all material shaders are getting generated by all these shader chunks.
1 Like