I am trying to reconstruct the painting results of UE 4 in WebGL. Is there any way to view the corresponding shader file (HLSL code)? So that I can easily transfer it to GLSL code…
I found the HLSL code under the window tab in the material editor, but it only shows the functions that return the material parameters (base, metallic and roughness), not the core shading code (BRDF, etc.).
If there are no ways to directly get the shader file, I will implement the UE 4 Shading Model introduced in siggraph course 2013:
Thanks a lot