<fragment-shader> ( source -- fragment-shader )


Vocabulary
opengl.shaders

Inputs
sourceThe GLSL source code to compile


Outputs
fragment-shadera new fragment-shader


Word description
Tries to compile the given GLSL source into a fragment shader object. Equivalent to GL_FRAGMENT_SHADER <gl-shader>.

Definition