Interface IStandardShaderProgram
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public interface IStandardShaderProgram : IShaderProgram, IDisposable
- Inherited Members
- Extension Methods
Properties
AddRenderFlags
int AddRenderFlags { set; }
Property Value
AlphaTest
The shader will discard things below this threshold.
float AlphaTest { set; }
Property Value
AverageColor
When TempGlowMode==1 this color is used as a reference
Vec4f AverageColor { set; }
Property Value
BaseTextureSize
Vec2f BaseTextureSize { set; }
Property Value
BaseUvOrigin
Vec2f BaseUvOrigin { set; }
Property Value
DamageEffect
float DamageEffect { set; }
Property Value
DontWarpVertices
The position of the player.
int DontWarpVertices { set; }
Property Value
ExtraGlow
int ExtraGlow { set; }
Property Value
ExtraGodray
float ExtraGodray { set; }
Property Value
ExtraZOffset
float ExtraZOffset { set; }
Property Value
FogDensityIn
The density level of the fog.
float FogDensityIn { set; }
Property Value
FogMinIn
The minimum distance for fog.
float FogMinIn { set; }
Property Value
ModelMatrix
The model Matrix.
float[] ModelMatrix { set; }
Property Value
- float[]
NormalShaded
int NormalShaded { set; }
Property Value
OverlayOpacity
float OverlayOpacity { set; }
Property Value
OverlayTextureSize
Vec2f OverlayTextureSize { set; }
Property Value
ProjectionMatrix
The projection matrix.
float[] ProjectionMatrix { set; }
Property Value
- float[]
RgbaAmbientIn
The color of the ambient light source.
Vec3f RgbaAmbientIn { set; }
Property Value
RgbaFogIn
The color of the fog.
Vec4f RgbaFogIn { set; }
Property Value
RgbaGlowIn
The color of the glow light.
Vec4f RgbaGlowIn { set; }
Property Value
RgbaLightIn
The color of the general light.
Vec4f RgbaLightIn { set; }
Property Value
RgbaTint
The color of the tint.
Vec4f RgbaTint { set; }
Property Value
ShadowMapFar2D
The shadowmap ID for far away shadows.
int ShadowMapFar2D { set; }
Property Value
ShadowMapNear2D
The shadowmap ID for nearby shadows.
int ShadowMapNear2D { set; }
Property Value
SsaoAttn
float SsaoAttn { set; }
Property Value
TempGlowMode
int TempGlowMode { set; }
Property Value
Tex2D
The texture 2D for this mesh.
int Tex2D { set; }
Property Value
Tex2dOverlay2D
int Tex2dOverlay2D { set; }
Property Value
ToShadowMapSpaceMatrixFar
The matrix for converting the vertex position from world space to far shadow space as supplied by IRenderAPI.CurrentShadowProjectionMatrix.
float[] ToShadowMapSpaceMatrixFar { set; }
Property Value
- float[]
ToShadowMapSpaceMatrixNear
The matrix for converting the vertex position from world space to near shadow space as supplied by IRenderAPI.CurrentShadowProjectionMatrix.
float[] ToShadowMapSpaceMatrixNear { set; }
Property Value
- float[]
ViewMatrix
The view matrix.
float[] ViewMatrix { set; }
Property Value
- float[]
WaterWaveCounter
Required for water waving meshes. Supplied the water counter as supplied as IRenderAPI.WaterWaveCounter.
float WaterWaveCounter { set; }
Property Value
ZFar
The far plane distance.
float ZFar { set; }
Property Value
ZNear
The Near plane distance.
float ZNear { set; }