Zachstar
01-04-2008, 08:00 PM
First before we start. You ought to know what shaders are.
http://en.wikipedia.org/wiki/Shader
A shader in the field of computer graphics is a set of software instructions, which is used by the graphic resources primarily to perform rendering effects. Shaders are used to allow a 3D application designer to program the GPU (Graphics Processing Unit) "programmable pipeline", which has mostly superseded the older "fixed-function pipeline", allowing more flexibility in making use of advanced GPU programmability features.
Assuming that OpenGL will be used then obviously the language is called GLSL.
http://en.wikipedia.org/wiki/OpenGL_Shading_Language
GLSL (OpenGL Shading Language), also known as GLslang, is a high level shading language based on the C programming language. It was created by the OpenGL ARB to give developers more direct control of the graphics pipeline without having to use assembly language or hardware-specific languages.
I made this topic to start a discussion about the use of simple shaders here and there to greatly improve visual realism while improving framerates.
Shaders are not just about giving pretty effects. They are highly useful for basic effects which in term saves times on the code department which would be otherwise spent on a madhouse of optimizations using the standard methods.
http://en.wikipedia.org/wiki/Shader
A shader in the field of computer graphics is a set of software instructions, which is used by the graphic resources primarily to perform rendering effects. Shaders are used to allow a 3D application designer to program the GPU (Graphics Processing Unit) "programmable pipeline", which has mostly superseded the older "fixed-function pipeline", allowing more flexibility in making use of advanced GPU programmability features.
Assuming that OpenGL will be used then obviously the language is called GLSL.
http://en.wikipedia.org/wiki/OpenGL_Shading_Language
GLSL (OpenGL Shading Language), also known as GLslang, is a high level shading language based on the C programming language. It was created by the OpenGL ARB to give developers more direct control of the graphics pipeline without having to use assembly language or hardware-specific languages.
I made this topic to start a discussion about the use of simple shaders here and there to greatly improve visual realism while improving framerates.
Shaders are not just about giving pretty effects. They are highly useful for basic effects which in term saves times on the code department which would be otherwise spent on a madhouse of optimizations using the standard methods.