Click or drag to resize
AB4D logo

Ab3d.DirectX.Shaders Namespace

Ab3d.DXEngine.Shaders namespace contains some of the shaders that can be used by some DXEngine's effects.
Classes
  ClassDescription
Public classDirectionalLightShader
DirectionalLightShader class is used by the StandardEffect and is optimized to render up to 3 directional lights.
Public classSuperInstancedShader
SuperInstancedShader can render many instances of a mesh and support many different lights (Directional, Point, Spot and Ambient light).
Public classSuperShader
SuperInstancedShader class is used by the StandardEffect and support many different lights (Directional, Point, Spot and Ambient light). The number of lights that can be rendered in single pass is defined by the MaxLights constant.
Interfaces
  InterfaceDescription
Public interfaceIStandardShader
IStandardShader interface defines methods that need to be implemented by a Shader class that can be used as a material that can render standard materials. Standard materials support diffuse color with textures, specular color with specular power and emissive color.