DigitalEarth-JayGuo / sigmaosg

Automatically exported from code.google.com/p/sigmaosg
0 stars 1 forks source link

Shader redesign #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The shaders using in the osgHelp and SigmaUtil have a main vertex shader and 
main fragment shader. We need to redesign these shaders so the main entry point 
is optional and thereby letting the programmer decide if he wants to use the 
main vertex and fragment shaders from the SigmaUtil/osgHelp or create his own.

By doing this a lot of the code used in the shaders need to be designed as 
functions.

Original issue reported on code.google.com by marino.peter on 31 Jan 2011 at 9:30