Eulerian Smoke Simulation on the GPU
shaders/VolumeSliceDraw.fs File Reference

A fragment shader that renders a slice of a 3D texture (volume). More...

Functions

void main ()
 Fragment shader entry point.

Variables

uniform sampler3D tex
 The 3D texture.
uniform float slice
 The texture slice to render.
uniform float opacity
 The rendered plane opacity.
varying vec3 texCoords
 The incoming texture coordinates.

Detailed Description

A fragment shader that renders a slice of a 3D texture (volume).

 All Classes Files Functions Variables