Rendu
A lightweight rendering engine for experimentations
|
Background forward fragment shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec2 | uv |
UV coordinates. | |
uniform uniform vec3 | bgColor |
Background color. | |
uniform bool | useTexture |
Should the texture be used instead of the color. | |
out vec4 | fragColor |
Color. | |
Background forward fragment shader.
|
inline |
Transfer color.