Rendu
A lightweight rendering engine for experimentations
|
Object prepass forward fragment shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec4 | n |
Normal direction. | |
in vec2 | uv |
Texture coordinates. | |
uniform uniform bool | hasMask |
Alpha masking applied. | |
out vec4 | fragNormal |
Geometric normal. | |
Object prepass forward fragment shader.
|
inline |
Just output the interpolated normal.