Default source code for the DirectX 9 shaders
Note: When the next ShaderFlag feature will be added the shader code needs to be generated on
the Server.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Graphics ShaderCodeDX9
Namespace: DeltaEngine.Graphics
Assembly: DeltaEngine.Graphics (in DeltaEngine.Graphics.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The ShaderCodeDX9 type exposes the following members.
Fields
Name | Description | |
---|---|---|
DX9Position3DLightMap | ||
Position2DColorDX9 | ||
Position2DColorUVDX9 |
The -0.5 pixel offset is needed in DirectX 9 to correctly match the texture coordinates:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb219690(v=vs.85).aspx
View code on GitHub | |
Position2DUVDX9 | ||
Position3DColorDX9 | ||
Position3DColorUVDX9 | ||
Position3DUVDX9 | ||
PositionColorFogDX9 | ||
PositionColorUVFogDX9 | ||
PositionUVFogDX9 | ||
PositionUVLightmapFogDX9 | ||
PositionUVNormal | ||
PositionUVSkinnedDX9 | ||
PositionUVSkinnedFogDX9 |
See Also