Table of Contents

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

int

AlphaTest

The shader will discard things below this threshold.

float AlphaTest { set; }

Property Value

float

AverageColor

When TempGlowMode==1 this color is used as a reference

Vec4f AverageColor { set; }

Property Value

Vec4f

BaseTextureSize

Vec2f BaseTextureSize { set; }

Property Value

Vec2f

BaseUvOrigin

Vec2f BaseUvOrigin { set; }

Property Value

Vec2f

DamageEffect

float DamageEffect { set; }

Property Value

float

DontWarpVertices

The position of the player.

int DontWarpVertices { set; }

Property Value

int

ExtraGlow

int ExtraGlow { set; }

Property Value

int

ExtraGodray

float ExtraGodray { set; }

Property Value

float

ExtraZOffset

float ExtraZOffset { set; }

Property Value

float

FogDensityIn

The density level of the fog.

float FogDensityIn { set; }

Property Value

float

FogMinIn

The minimum distance for fog.

float FogMinIn { set; }

Property Value

float

ModelMatrix

The model Matrix.

float[] ModelMatrix { set; }

Property Value

float[]

NormalShaded

int NormalShaded { set; }

Property Value

int

OverlayOpacity

float OverlayOpacity { set; }

Property Value

float

OverlayTextureSize

Vec2f OverlayTextureSize { set; }

Property Value

Vec2f

ProjectionMatrix

The projection matrix.

float[] ProjectionMatrix { set; }

Property Value

float[]

RgbaAmbientIn

The color of the ambient light source.

Vec3f RgbaAmbientIn { set; }

Property Value

Vec3f

RgbaFogIn

The color of the fog.

Vec4f RgbaFogIn { set; }

Property Value

Vec4f

RgbaGlowIn

The color of the glow light.

Vec4f RgbaGlowIn { set; }

Property Value

Vec4f

RgbaLightIn

The color of the general light.

Vec4f RgbaLightIn { set; }

Property Value

Vec4f

RgbaTint

The color of the tint.

Vec4f RgbaTint { set; }

Property Value

Vec4f

ShadowMapFar2D

The shadowmap ID for far away shadows.

int ShadowMapFar2D { set; }

Property Value

int

ShadowMapNear2D

The shadowmap ID for nearby shadows.

int ShadowMapNear2D { set; }

Property Value

int

SsaoAttn

float SsaoAttn { set; }

Property Value

float

TempGlowMode

int TempGlowMode { set; }

Property Value

int

Tex2D

The texture 2D for this mesh.

int Tex2D { set; }

Property Value

int

Tex2dOverlay2D

int Tex2dOverlay2D { set; }

Property Value

int

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

float

ZFar

The far plane distance.

float ZFar { set; }

Property Value

float

ZNear

The Near plane distance.

float ZNear { set; }

Property Value

float