SRenderSettings

Index

Functions Index

Function Name

void SetGlobalShaderTexture (string name, SResource dir)

void SetGlobalShaderFloat (string name, float dir)

void SetGlobalShaderColor (string name, SColor dir)

void SetGlobalShaderVector (string name, SVector dir)

Properties Index

Property Name

SMaterial Skybox get set

float FlareFadeSpeed get set

float FlareStrength get set

float HaloStrength get set

float AmbientIntensity get set

SColor AmbientLight get set

SColor AmbientGroundColor get set

SColor AmbientEquatorColor get set

SColor AmbientSkyColor get set

SAmbientMode AmbientMode get set

float FogEndDistance get set

float FogStartDistance get set

float FogDensity get set

SColor FogColor get set

SFogMode FogMode get set

bool Fog get set

SDefaultReflectionMode DefaultReflectionMode get set

Functions

SetGlobalShaderTexture

void SetGlobalShaderTexture (string name, SResource dir)

Set a global texture property.

Parameter
Type
Description

SetGlobalShaderFloat

void SetGlobalShaderFloat (string name, float dir)

Set a global float property for all shaders.

Parameter
Type
Description

SetGlobalShaderColor

void SetGlobalShaderColor (string name, SColor dir)

Set a global color property for all shaders.

Parameter
Type
Description

SetGlobalShaderVector

void SetGlobalShaderVector (string name, SVector dir)

Set a global color property for all shaders.

Parameter
Type
Description

Properties

DefaultReflectionResolution

int DefaultReflectionResolution get set

Cubemap resolution for default reflection.

Skybox

SMaterial Skybox get set

The global skybox to use.

FlareFadeSpeed

float FlareFadeSpeed get set

The fade speed of all flares in the Scene.

FlareStrength

float FlareStrength get set

The intensity of all flares in the Scene.

HaloStrength

float HaloStrength get set

Size of the light halos.

ReflectionBounces

int ReflectionBounces get set

The number of times a reflection includes other reflections.

ReflectionIntensity

float ReflectionIntensity get set

How much the skybox / custom cubemap reflection affects the Scene.

SubtractiveShadowColor

SColor SubtractiveShadowColor get set

The color used for the sun shadows in the Subtractive lightmode.

AmbientIntensity

float AmbientIntensity get set

How much the light from the Ambient Source affects the Scene.

AmbientLight

SColor AmbientLight get set

Flat ambient lighting color.

AmbientGroundColor

SColor AmbientGroundColor get set

Ambient lighting coming from below.

AmbientEquatorColor

SColor AmbientEquatorColor get set

Ambient lighting coming from the sides.

AmbientSkyColor

SColor AmbientSkyColor get set

Ambient lighting coming from above.

AmbientMode

int AmbientMode get set

Ambient lighting mode. Skybox = 1. Trilight = 2. Flat = 3. Custom = 4.

FogEndDistance

float FogEndDistance get set

The ending distance of linear fog.

FogStartDistance

float FogStartDistance get set

The starting distance of linear fog.

FogDensity

float FogDensity get set

The density of the exponential fog.

FogColor

SColor FogColor get set

The color of the fog.

FogMode

int FogMode get set

Ambient lighting mode. Linear = 1. Exponential = 2. ExponentialSquared = 3.

Fog

bool Fog get set

Whether Fog is enabled

AmbientSkyboxAmount

float AmbientSkyboxAmount get set

How much the light from the Ambient Source affects the Scene.

DefaultReflectionMode

int DefaultReflectionMode get set

Ambient lighting mode. Skybox = 0. Custom = 1.

Last updated

Was this helpful?