Shaders
Jump to navigation
Jump to search
Shaders are small programs in a language, called GLSL, that are used to control the graphics representation and effects for of objects. You can assign one or more shaders by name to an object in the object's Shaders property.
A Shaders object property that contains an incorrect value, may prevent rendering the object, making it invisible
These are the currently available shaders
wireframeShader : [ \"system:///shaders/Default.gl_vsh\", \"system:///shaders/Default.gl_fsh\"]," defaultShader : [ \"system:///shaders/ADS.gl_vsh\", \"system:///shaders/ADS.gl_fsh\"]," skinShader : [ \"system:///shaders/ADSS.gl_vsh\", \"system:///shaders/ADS.gl_fsh\"]," shadowShader : [ \"system:///shaders/Shadow.gl_vsh\", \"system:///shaders/Shadow.gl_fsh\"]," blendedShader : [ \"system:///shaders/Blended.gl_vsh\", \"system:///shaders/Blended.gl_fsh\"]," alphaShader : [ \"system:///shaders/ADS_alpha.gl_vsh\", \"system:///shaders/ADS_alpha.gl_fsh\"]," blinnShader : [ \"system:///shaders/BlinnSuper.gl_vsh\", \"system:///shaders/BlinnSuper.gl_fsh\"]," haloShader : [ \"system:///shaders/Halo.gl_vsh\", \"system:///shaders/Halo.gl_fsh\"]," textShader : [ \"system:///shaders/TextTexture.gl_vsh\", \"system:///shaders/TextTexture.gl_fsh\"]," textureShader : [ \"system:///shaders/Texture.gl_vsh\", \"system:///shaders/Texture.gl_fsh\"]," skyboxShader : [ \"system:///shaders/Skybox.gl_vsh\", \"system:///shaders/Skybox.gl_fsh\"]," textgen : [ \"system:///shaders/TextGen.gl_vsh\", \"system:///shaders/TextGen.gl_fsh\"]," marble : [ \"system:///shaders/TextGen.gl_vsh\", \"system:///shaders/Marble.gl_fsh\"]," planet : [ \"system:///shaders/TextGen.gl_vsh\", \"system:///shaders/noiselib/planet.glsl\"]," debug : [ \"system:///shaders/Texture.gl_vsh\", \"system:///shaders/debug.gl_fsh\"],"
not all of these will work with all objects