Visualisierung 2
Comparison of Hue Preserving Rendering to Alpha Composing
alpha.frag File Reference

Go to the source code of this file.

Functions

void main ()
 

Variables

out vec4 color
 
in vec3 position
 
uniform sampler3D volume
 
uniform float regionSeperator
 
uniform int depth
 
uniform int width
 
uniform int height
 
uniform vec4 regionColor1
 
uniform vec4 regionColor2
 
uniform int orientation
 

Function Documentation

◆ main()

void main ( )

Definition at line 25 of file alpha.frag.

Variable Documentation

◆ color

out vec4 color

Definition at line 12 of file alpha.frag.

◆ depth

uniform int depth

Definition at line 18 of file alpha.frag.

◆ height

uniform int height

Definition at line 20 of file alpha.frag.

◆ orientation

uniform int orientation

Definition at line 23 of file alpha.frag.

◆ position

in vec3 position

Definition at line 14 of file alpha.frag.

◆ regionColor1

uniform vec4 regionColor1

Definition at line 21 of file alpha.frag.

◆ regionColor2

uniform vec4 regionColor2

Definition at line 22 of file alpha.frag.

◆ regionSeperator

uniform float regionSeperator

Definition at line 17 of file alpha.frag.

◆ volume

uniform sampler3D volume

Definition at line 16 of file alpha.frag.

◆ width

uniform int width

Definition at line 19 of file alpha.frag.