Rendu
A lightweight rendering engine for experimentations
|
Colored object fragment shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec3 | n |
The world-space normal. | |
uniform int | matID |
The material index. | |
out vec4 | fragNormal |
Normal. | |
out float | fragId |
Material ID. | |
Colored object fragment shader.
|
inline |
Outputs the object world-space normal and the material index.