Table of Contents

Class DefaultShaderUniforms

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public class DefaultShaderUniforms
Inheritance
DefaultShaderUniforms
Inherited Members

Constructors

DefaultShaderUniforms()

public DefaultShaderUniforms()

Fields

BlockAtlasHeight

public float BlockAtlasHeight

Field Value

float

ColorMapRects4

public float[] ColorMapRects4

Field Value

float[]

DamageVignetting

public float DamageVignetting

Field Value

float

DamageVignettingSide

0..1 (0 for left, 0.5 for left&right, 1 for right)

public float DamageVignettingSide

Field Value

float

DitherSeed

public int DitherSeed

Field Value

int

DropShadowIntensity

public float DropShadowIntensity

Field Value

float

Dusk

public int Dusk

Field Value

int

ExtraBloom

public float ExtraBloom

Field Value

float

ExtraSepia

public float ExtraSepia

Field Value

float

FlagFogDensity

public float FlagFogDensity

Field Value

float

FlatFogStartYPos

public float FlatFogStartYPos

Field Value

float

FogWaveCounter

public float FogWaveCounter

Field Value

float

FrameWidth

public int FrameWidth

Field Value

int

FrostVignetting

public float FrostVignetting

Field Value

float

GlitchStrength

public float GlitchStrength

Field Value

float

GlitchWaviness

public float GlitchWaviness

Field Value

float

GlobalWorldWarp

public float GlobalWorldWarp

Field Value

float

GlowTextureId

public int GlowTextureId

Field Value

int

LightPosition3D

public Vec3f LightPosition3D

Field Value

Vec3f

NightVisionStrength

public float NightVisionStrength

Field Value

float

PerceptionEffectId

public int PerceptionEffectId

Field Value

int

PerceptionEffectIntensity

public float PerceptionEffectIntensity

Field Value

float

PlayerPos

public Vec3f PlayerPos

Field Value

Vec3f

PlayerToSealevelOffset

public float PlayerToSealevelOffset

Field Value

float

PlayerViewVector

public Vec3f PlayerViewVector

Field Value

Vec3f

PointLightColors3

public float[] PointLightColors3

Field Value

float[]

PointLights3

public float[] PointLights3

Field Value

float[]

PointLightsCount

public int PointLightsCount

Field Value

int

SeaLevel

public float SeaLevel

Field Value

float

SeasonRel

public float SeasonRel

Field Value

float

SeasonTemperature

public float SeasonTemperature

Field Value

float

ShadowRangeFar

public float ShadowRangeFar

Field Value

float

ShadowRangeNear

public float ShadowRangeNear

Field Value

float

ShadowZExtendFar

public float ShadowZExtendFar

Field Value

float

ShadowZExtendNear

public float ShadowZExtendNear

Field Value

float

SkyTextureId

public int SkyTextureId

Field Value

int

SunLightTextureId

public int SunLightTextureId

Field Value

int

SunPosition3D

public Vec3f SunPosition3D

Field Value

Vec3f

SunPositionScreen

public Vec3f SunPositionScreen

Field Value

Vec3f

SunSpecularIntensity

public float SunSpecularIntensity

Field Value

float

SunlightExtraBrightness

public float SunlightExtraBrightness

Field Value

float

SunsetMod

public float SunsetMod

Field Value

float

TimeCounter

public float TimeCounter

Field Value

float

ToShadowMapSpaceMatrixFar

public float[] ToShadowMapSpaceMatrixFar

Field Value

float[]

ToShadowMapSpaceMatrixNear

public float[] ToShadowMapSpaceMatrixNear

Field Value

float[]

WaterFlowCounter

public float WaterFlowCounter

Field Value

float

WaterStillCounter

public float WaterStillCounter

Field Value

float

WaterWaveCounter

public float WaterWaveCounter

Field Value

float

WaterWaveIntensity

public float WaterWaveIntensity

Field Value

float

WindSpeed

public float WindSpeed

Field Value

float

WindWaveCounter

public float WindWaveCounter

Field Value

float

WindWaveCounterHighFreq

public float WindWaveCounterHighFreq

Field Value

float

WindWaveIntensity

public float WindWaveIntensity

Field Value

float

ZFar

The currently configured z-far plane

public float ZFar

Field Value

float

ZNear

The currently configured z-near plane

public float ZNear

Field Value

float

playerReferencePos

public Vec3d playerReferencePos

Field Value

Vec3d

Methods

DescaleTemperature(float)

public static int DescaleTemperature(float temperature)

Parameters

temperature float

Returns

int

Update(float, ICoreClientAPI)

public void Update(float dt, ICoreClientAPI capi)

Parameters

dt float
capi ICoreClientAPI