Rendu
A lightweight rendering engine for experimentations
|
Object basic lit fragment shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec3 | vn |
World space normal. | |
uniform vec3 | lightDir |
Light direction. | |
out vec4 | fragColor |
Color. | |
Object basic lit fragment shader.
|
inline |
Render a mesh with two default lights on each side of the scene.