Tags:
create new tag
,
view all tags
Info
Spec
here
, tutorial
here
Defined in
OpenGL 2.0
Also known as glslang
nVidia's cG also compatible with OpenGL
"ARB extensions" - older?
do
glxinfo
to get OpenGL version
Notes
Variables
Uniforms - they don't change during a rendering. Read Only
Attributes - only in vertex shaders. Input data. Change each vertex processed
Varyings - for passing data from vertex to fragment shader. Read only in vertex but read/write in fragment.
(all must be globals)
Language Features
100% type safe (casts required from ints to floats)
Vectors & matrices only fill-able in xtors
Operations
dot, cross, normalize, clamp, texture2D
--
MattWalsh
- 08 Dec 2008
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r4
<
r3
<
r2
<
r1
|
B
acklinks
|
R
aw View
|
M
ore topic actions
Topic revision: r4 - 10 Apr 2009 -
MattWalsh
Home
Site map
Main web
Main_old web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback