Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUShaders::Vert::Shaderbench Class Reference

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.
 

Detailed Description

Shaderbench vertex shader.

Member Function Documentation

◆ main()

void GPUShaders::Vert::Shaderbench::main ( )
inline

Render triangle on screen. Interpolate UV and view direction.


The documentation for this class was generated from the following file: