Fragment Shader. More...
Public Member Functions | |
out | layout (location=0, index=0) vec4 c |
Output RGBA colours. | |
void | main () |
Output the colour for the pixel. |
Data Fields | |
uniform sampler2D | rgb |
RGB texture sampler. | |
smooth in vec2 | t |
Texture coordinate for the current pixel. |
Fragment Shader.
Definition at line 6 of file fp32_colour2_frag.glsl.
out colour2::fp32::frag::layout | ( | location | = 0 , |
index | = 0 |
||
) |
Output RGBA colours.
|
inline |
Output the colour for the pixel.
Definition at line 30 of file fp32_colour2_frag.glsl.
uniform sampler2D colour2::fp32::frag::rgb |
RGB texture sampler.
Definition at line 15 of file fp32_colour2_frag.glsl.
smooth in vec2 colour2::fp32::frag::t |
Texture coordinate for the current pixel.
Definition at line 20 of file fp32_colour2_frag.glsl.