Kinetic Visualization (Visualisierung 2 - S2012)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
kinetic_particles_dvr.frag File Reference

Functions

vec4 computeFragColor (vec3 iso_pos, vec4 color)
vec3 blinn (vec3 N, vec3 V, vec3 L, int light)
void main (void)

Variables

varying vec3 frag_position
varying vec4 pos
uniform sampler3D volume_texunit
uniform sampler1D trfunc_texunit
uniform sampler2D particle_depth_texunit
uniform sampler2D particle_color_texunit
uniform sampler3D gradient_texunit
uniform vec3 light_position [4]
uniform bool light_enable [4]
uniform vec3 eye_position
uniform float sample_step
uniform float shading_intensity
uniform float gradient_intensity
uniform float opacity_intensity
uniform bool particles_enabled
uniform vec3 gradMin
uniform vec3 gradMax

Function Documentation

vec3 blinn ( vec3  N,
vec3  V,
vec3  L,
int  light 
)
vec4 computeFragColor ( vec3  iso_pos,
vec4  color 
)
void main ( void  )

Variable Documentation

uniform vec3 eye_position
varying vec3 frag_position
uniform float gradient_intensity
uniform sampler3D gradient_texunit
uniform vec3 gradMax
uniform vec3 gradMin
uniform bool light_enable[4]
uniform vec3 light_position[4]
uniform float opacity_intensity
uniform sampler2D particle_color_texunit
uniform sampler2D particle_depth_texunit
uniform bool particles_enabled
varying vec4 pos
uniform float sample_step
uniform float shading_intensity
uniform sampler1D trfunc_texunit
uniform sampler3D volume_texunit