Rendu
A lightweight rendering engine for experimentations
|
Shaderbench vertex shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec3 | v |
Position. | |
uniform mat4 | iViewProjInv |
Inverse view proj matrix. | |
out vec4 | dir |
View world direction. | |
out vec2 | uv |
Texture coordinates. | |
Shaderbench vertex shader.
|
inline |
Render triangle on screen. Interpolate UV and view direction.