1
Substance Painter - Discussions - Re: What's Possible with a Custom GLSL Shader in Painter?
on: January 07, 2021, 05:05:48 pm
Well I continued to try to play around with what's possible in the GLSL. Considering my goal is to add more specular BSDF layers to the material, I don't believe there's much I can do in Painter's Shader API to achieve this.
As a work around, I just created a new viewport shader which grabbed my custom MDL. My MDL sources the 'user0-4' channels to render the sheen and clear coat effects. So, my workflow right now is to author layers in those channels, then in order to view their effects, I have to switch to the Iray viewport renderer.
It's not the ideal workflow, but it may be the only way I can replicate the shader effects from my renderer without more access to the Fragment Shader through the Shader API.
As a work around, I just created a new viewport shader which grabbed my custom MDL. My MDL sources the 'user0-4' channels to render the sheen and clear coat effects. So, my workflow right now is to author layers in those channels, then in order to view their effects, I have to switch to the Iray viewport renderer.
It's not the ideal workflow, but it may be the only way I can replicate the shader effects from my renderer without more access to the Fragment Shader through the Shader API.