Version:
Back to list
Material :: setFragmentShader
Synopsis
Set the fragment shader of a custom patternGUI Dialog
Script function
material.setFragmentShader(pattern, code)Parameters
pattern (CustomMaterialPattern) : The custom pattern to edit
code (String) : The GLSL code of the fragment shader