Difference between revisions of "Shaders"

From Constructive Labs
Jump to navigation Jump to search
(Created page with "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 to a...")
(No difference)

Revision as of 09:42, 23 June 2022

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 to an object in the object's Shaders property.

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