Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

vmd.vert File Reference

Go to the source code of this file.

Functions

void main (void)
 VMD Vertex Shader. More...


Variables

uniform int vmdprojectionmode
 perspective=1 orthographic=0. More...

uniform int vmdtexturemode
 VMD texture mode. More...

varying vec3 oglnormal
 output interpolated normal to frag shader. More...

varying vec3 oglcolor
 output interpolated color to frag shader. More...

varying vec3 V
 output view direction vector. More...


Function Documentation

void main void   
 

VMD Vertex Shader.

Definition at line 42 of file vmd.vert.

References dot, oglcolor, oglnormal, V, vmdprojectionmode, and vmdtexturemode.


Variable Documentation

varying vec3 oglcolor
 

output interpolated color to frag shader.

Definition at line 36 of file vmd.vert.

Referenced by main.

varying vec3 oglnormal
 

output interpolated normal to frag shader.

Definition at line 35 of file vmd.vert.

Referenced by main.

varying vec3 V
 

output view direction vector.

Definition at line 37 of file vmd.vert.

Referenced by main.

uniform int vmdprojectionmode
 

perspective=1 orthographic=0.

Definition at line 29 of file vmd.vert.

Referenced by main.

uniform int vmdtexturemode
 

VMD texture mode.

Definition at line 30 of file vmd.vert.

Referenced by main.


Generated on Fri Apr 26 02:45:00 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002