Eulerian Smoke Simulation on the GPU
|
A vertex shader that multiplies the vertex positions with the Model-View-Projection matrix. More...
Functions | |
void | main (void) |
Vertex shader entry point. | |
Variables | |
uniform mat4 | projectionMatrix |
The projection matrix generated from the Camera. | |
uniform mat4 | ViewMatrix |
The ViewMatrix generated from the Camera. | |
uniform mat4 | ModelMatrix |
The ModelMatrix generated from the scene transforms. | |
attribute vec3 | inPosition |
The incoming vertex positions. |
A vertex shader that multiplies the vertex positions with the Model-View-Projection matrix.