Access GLSL Code from Physical Material

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 @Sebastian,

Check this post:

1 Like

Hi @Leonidas ,

sorry, I meant actually looking at the code.
I think this is what I was looking for.

In combination with this class:

You really went the full way creating an modular approach :smiley:


1 Like

Yes, you got it, all material shaders are getting generated by all these shader chunks.

1 Like