|
Rendu
A lightweight rendering engine for experimentations
|
Debug texture display fragment shader. More...
Public Member Functions | |
| void | main () |
Public Attributes | |
| in vec2 | uv |
| UV coordinates. | |
| uniform uniform ivec4 | channels |
| Channels to display. | |
| uniform vec2 | range |
| Value range. | |
| uniform int | level |
| Texture level to display. | |
| uniform int | layer |
| Texture layer to display. | |
| uniform int | shape |
| Type of texture to display. | |
| uniform bool | gamma |
| Apply gamma correction. | |
| out vec4 | fragColor |
| Color. | |
Debug texture display fragment shader.
|
inline |
Display the current layer and level of the right texture, adjusting values and channels..