Class DefaultShaderUniforms
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public class DefaultShaderUniforms
- Inheritance
-
DefaultShaderUniforms
- Inherited Members
- Extension Methods
Constructors
DefaultShaderUniforms()
public DefaultShaderUniforms()
Fields
BlockAtlasHeight
public float BlockAtlasHeight
Field Value
ColorMapRects4
public float[] ColorMapRects4
Field Value
- float[]
DamageVignetting
public float DamageVignetting
Field Value
DamageVignettingSide
0..1 (0 for left, 0.5 for left&right, 1 for right)
public float DamageVignettingSide
Field Value
DitherSeed
public int DitherSeed
Field Value
DropShadowIntensity
public float DropShadowIntensity
Field Value
Dusk
public int Dusk
Field Value
ExtraBloom
public float ExtraBloom
Field Value
ExtraSepia
public float ExtraSepia
Field Value
FlagFogDensity
public float FlagFogDensity
Field Value
FlatFogStartYPos
public float FlatFogStartYPos
Field Value
FogSphereQuantity
public int FogSphereQuantity
Field Value
FogSpheres
Each sphere has 8 floats: 3 floats x/y/z offset to the player 1 float radius 1 float density 3 floats rgb color
public float[] FogSpheres
Field Value
- float[]
FogWaveCounter
public float FogWaveCounter
Field Value
FrameWidth
public int FrameWidth
Field Value
FrostVignetting
public float FrostVignetting
Field Value
GlitchStrength
public float GlitchStrength
Field Value
GlitchWaviness
public float GlitchWaviness
Field Value
GlobalWorldWarp
public float GlobalWorldWarp
Field Value
GlowTextureId
public int GlowTextureId
Field Value
LightPosition3D
public Vec3f LightPosition3D
Field Value
MaxSpheres
public const int MaxSpheres = 3
Field Value
NightVisionStrength
public float NightVisionStrength
Field Value
PerceptionEffectId
public int PerceptionEffectId
Field Value
PerceptionEffectIntensity
public float PerceptionEffectIntensity
Field Value
PlayerPos
public Vec3f PlayerPos
Field Value
PlayerPosForFoam
public Vec3f PlayerPosForFoam
Field Value
PlayerToSealevelOffset
public float PlayerToSealevelOffset
Field Value
PlayerViewVector
public Vec3f PlayerViewVector
Field Value
PointLightColors3
public float[] PointLightColors3
Field Value
- float[]
PointLights3
public float[] PointLights3
Field Value
- float[]
PointLightsCount
public int PointLightsCount
Field Value
SeaLevel
public float SeaLevel
Field Value
SeasonRel
public float SeasonRel
Field Value
SeasonTemperature
public float SeasonTemperature
Field Value
ShadowRangeFar
public float ShadowRangeFar
Field Value
ShadowRangeNear
public float ShadowRangeNear
Field Value
ShadowZExtendFar
public float ShadowZExtendFar
Field Value
ShadowZExtendNear
public float ShadowZExtendNear
Field Value
SkyTextureId
public int SkyTextureId
Field Value
SunLightTextureId
public int SunLightTextureId
Field Value
SunPosition3D
public Vec3f SunPosition3D
Field Value
SunPositionScreen
public Vec3f SunPositionScreen
Field Value
SunSpecularIntensity
public float SunSpecularIntensity
Field Value
SunlightExtraBrightness
public float SunlightExtraBrightness
Field Value
SunsetMod
public float SunsetMod
Field Value
TimeCounter
public float TimeCounter
Field Value
ToShadowMapSpaceMatrixFar
public float[] ToShadowMapSpaceMatrixFar
Field Value
- float[]
ToShadowMapSpaceMatrixNear
public float[] ToShadowMapSpaceMatrixNear
Field Value
- float[]
WaterFlowCounter
public float WaterFlowCounter
Field Value
WaterStillCounter
public float WaterStillCounter
Field Value
WaterWaveCounter
public float WaterWaveCounter
Field Value
WaterWaveIntensity
public float WaterWaveIntensity
Field Value
WindSpeed
public float WindSpeed
Field Value
WindWaveCounter
public float WindWaveCounter
Field Value
WindWaveCounterHighFreq
public float WindWaveCounterHighFreq
Field Value
WindWaveIntensity
public float WindWaveIntensity
Field Value
ZFar
The currently configured z-far plane
public float ZFar
Field Value
ZNear
The currently configured z-near plane
public float ZNear
Field Value
playerReferencePos
public Vec3d playerReferencePos
Field Value
playerReferencePosForFoam
public Vec3d playerReferencePosForFoam
Field Value
Properties
CameraUnderwater
public float CameraUnderwater { get; set; }
Property Value
WaterMurkColor
public Vec4f WaterMurkColor { get; set; }
Property Value
Methods
DescaleTemperature(float)
public static int DescaleTemperature(float temperature)
Parameters
temperature
float
Returns
Update(float, ICoreClientAPI)
public void Update(float dt, ICoreClientAPI capi)
Parameters
dt
floatcapi
ICoreClientAPI