Open topic with navigation
<shader>.loadFragment
Load a fragment shader into the shader object
<shader>.loadFragment( |
|
shader |
) |
|
shader
Filename or code that contains fragment shader
Remarks
This command will add a GLSL fragment shader to the shader object. If a fragment shader is already added to the shader, then it will be replaced with the new one.
Return Value
None
See also