shaderType Enumeration

Shader types definitions.
Members
 
  Member name Description
BlurHor Applies a gaussian blur to a texture in the horizontal direction
BlurVert Applies a gaussian blur to a texture in the vertical direction
Environment Draws with Phong lighting and environment mapping using the RenderContextBase.CurrentMaterial
EnvironmentMulticolor Draws with Phong lighting and environment mapping specifying a normal and color per vertex
EnvironmentMulticolorFEM Draws with Phong lighting and environment mapping specifying a normal and color per vertex, but clamps the diffuse value between 0 and 1 before applying the color, so it behaves similar to a texture
EnvironmentMulticolorShadow Draws with Phong lighting, environment mapping and shadow mapping specifying one color per vertex
EnvironmentMulticolorShadowFEM Draws with Phong lighting, environment mapping and shadow mapping specifying one color per vertex, but clamps the diffuse value between 0 and 1 before applying the color, so it behaves similar to a texture
EnvironmentShadow Draws with Phong lighting, environment mapping and shadow mapping using the RenderContextBase.CurrentMaterial
EnvironmentTexture1D Draws with Phong lighting, environment mapping and 1D texture using the RenderContextBase.CurrentMaterial
EnvironmentTexture1DShadow Draws with Phong lighting, environment mapping, 1D texture and shadow mapping using the RenderContextBase.CurrentMaterial
EnvironmentTexture2D Draws with Phong lighting, environment mapping and 2D texture using the RenderContextBase.CurrentMaterial
EnvironmentTexture2DShadow Draws with Phong lighting, environment mapping, 2D texture and shadow mapping using the RenderContextBase.CurrentMaterial
EnvironmentTexture2DShadowWithAlphaMap Draws with Phong lighting, environment mapping, 2D texture with Alpha map and shadow mapping using the RenderContextBase.CurrentMaterial
EnvironmentTexture2DWithAlphaMap Draws with Phong lighting, environment mapping and 2D texture with alpha map using the RenderContextBase.CurrentMaterial
MultiColor Draws with Phong lighting specifying a normal and color per vertex
MultiColorFEM Draws with Phong lighting specifying a normal and color per vertex, but clamps the diffuse value between 0 and 1 before applying the color, so it behaves similar to a texture
MultiColorNoLights Draws without lighting specifying a color per vertex
MultiColorNoLightsThickLines Draws thick lines without lighting specifying a color per vertex
MultiColorNoLightsThickLinesPerVertex Draws thick lines without lighting specifying a color and a line width per vertex
MultiColorNoLightsThickPoints Draws thick points without lighting specifying a color per vertex
MultiColorNoLightsThickPointsPerVertex Draws thick points without lighting specifying a color and point size per vertex
MultiColorNoLightsWithNormals Draws without lighting specifying a normal and a color per vertex
MultiColorSelected Draws with Phong lighting specifying a normal and color (unused) per vertex but using the RenderContextBase.CurrentMaterial
MultiColorShadow Draws with Phong lighting and shadow mapping specifying one color per vertex
MultiColorShadowFEM Draws with Phong lighting and shadow mapping specifying one color per vertex, but clamps the diffuse value between 0 and 1 before applying the color, so it behaves similar to a texture
NoLights Draws without lighting using the RenderContextBase.CurrentWireColor
NoLightsLinesStipple Draws lines with stipple without lighting using the RenderContextBase.CurrentWireColor
NoLightsThickLines Draws thick lines without lighting using the RenderContextBase.CurrentWireColor
NoLightsThickLinesStipple Draws thick lines with stipple without lighting using the RenderContextBase.CurrentWireColor
NoLightsThickPoints Draws thick points without lighting using the RenderContextBase.CurrentWireColor
None No shader
SingleColorModulatedByIntensity Draws without lighting modulating the RenderContextBase.CurrentWireColor by a factor specified per each vertex
SingleColorModulatedByIntensityThickLines Draws thick lines without lighting modulating the RenderContextBase.CurrentWireColor by a factor specified per each vertex
SingleColorModulatedByIntensityThickPoints Draws thick points without lighting modulating the RenderContextBase.CurrentWireColor by a factor specified per each vertex
Standard Draws with Phong lighting using the RenderContextBase.CurrentMaterial
StandardShadow Draws with Phong lighting and shadow mapping using the RenderContextBase.CurrentMaterial
StandardThickLines Draws thick lines with Phong lighting using the RenderContextBase.CurrentMaterial
StandardThickPoints Draws thick points with Phong lighting using the RenderContextBase.CurrentMaterial
Texture1D Draws with Phong lighting ad 1D texture using the RenderContextBase.CurrentMaterial
Texture1DNoLights Draws without lighting with a 1D texture in decal using the RenderContextBase.CurrentWireColor for the transparent areas of the texture
Texture1DNoLightsThickLines
Texture1DShadow Draws with Phong lighting, 1D texture and shadow mapping using the RenderContextBase.CurrentMaterial
Texture2D Draws with Phong lighting and 2D Texture using the RenderContextBase.CurrentMaterial
Texture2DDecal Draws with Phong lighting and 2D texture in Decal mode using the RenderContextBase.CurrentMaterial for the transparent areas of the texture
Texture2DDecalWithAlphaMap Draws with Phong lighting and 2D texture in Decal mode with Alpha map using the RenderContextBase.CurrentMaterial for the transparent areas of the texture
Texture2DNoLights Draws without lighting using the full color of a 2D texture
Texture2DNoLightsDecal Draws without lighting with a 2D texture in decal mode using the RenderContextBase.CurrentWireColor for the transparent areas of the texture
Texture2DNoLightsDecalWithAlphaMap Draws without lighting with a 2D texture and an alpha map in decal mode using the RenderContextBase.CurrentWireColor for the transparent areas of the texture
Texture2DNoLightsDepth
Texture2DNoLightsModulate Draws without lighting with the full color of a 2D texture, modulated by the RenderContextBase.CurrentWireColor
Texture2DNoLightsModulateWithAlphaMap Draws without lighting with the full color of a 2D texture, modulated by the RenderContextBase.CurrentWireColor and an Alpha map
Texture2DNoLightsWithAlphaMap Draws without lighting using the full color of a 2D texture modulated by an alpha map
Texture2DShadow Draws with Phong lighting, 2D texture and shadow mapping using the RenderContextBase.CurrentMaterial
Texture2DShadowWithAlphaMap Draws with Phong lighting, 2D texture with alpha map and shadow mapping using the RenderContextBase.CurrentMaterial
Texture2DWithAlphaMap Draws with Phong lighting and 2D Texture with Alpha map using the RenderContextBase.CurrentMaterial
WriteDepth Writes the depth in the red component

In this article

Definition