SO3Engine
Functions | Variables
SCOLLighting.cpp File Reference

Go to the source code of this file.

Functions

int SO3SceneSetShadowColor (mmachine m)
 SO3SceneSetShadowColor : function to defines shadow color of the scene.
 
int SO3SceneGetShadowColor (mmachine m)
 SO3SceneGetShadowColor : function to get the shadow color of the scene.
 
int SO3SceneSetSelfShadowTexture (mmachine m)
 SO3SceneSetSelfShadowTexture : function to defines self shadow texture.
 
int SO3SceneGetSelfShadowTexture (mmachine m)
 SO3SceneGetSelfShadowTexture : function to get the self shadow texture.
 
int SO3SceneSetShadowTextureSize (mmachine m)
 SO3SceneSetShadowTextureSize : function to defines shadow texture size.
 
int SO3SceneGetShadowTextureSize (mmachine m)
 SO3SceneGetShadowTextureSize : function to get the shadow texture size.
 
int SO3SceneSetShadowPreset (mmachine m)
 SO3SceneSetShadowPreset : function to defines a preset shadow subsystem to use.
 
int SO3SceneGetShadowPreset (mmachine m)
 SO3SceneGetShadowPreset : function to get the shadow subsystem in use.
 
int SO3SceneGetShadowLightingTechnique (mmachine m)
 SO3SceneGetShadowLightingTechnique : function to get technique for shadows.
 
int SO3SceneSetShadowLightingTechnique (mmachine m)
 SO3SceneSetShadowLightingTechnique : function to set the shadows technique.
 
int SO3SceneSetShadowQuality (mmachine m)
 SO3SceneSetShadowQuality : function to defines shadow quality to use with current shadow technique This works only with texture shadows presets.
 
int SO3SceneGetShadowQuality (mmachine m)
 SO3SceneGetShadowQuality : function to get the shadow quality in use This works only with texture shadows presets.
 
int SO3SceneSetShadowTextureCount (mmachine m)
 SO3SceneSetShadowTextureCount : function to defines shadow texture count in the scene.
 
int SO3SceneSetDefaultShadowCamera (mmachine m)
 SO3SceneSetDefaultShadowCamera : function to defines default shadow camera.
 
int SO3SceneSetFocusedShadowCamera (mmachine m)
 SO3SceneSetFocusedShadowCamera : function to set focused shadow camera.
 
int SO3SceneSetLISPSMShadowCamera (mmachine m)
 SO3SceneSetLISPSMShadowCamera : function to set LISPSM shadow camera.
 
int SO3SceneSetPlaneShadowCamera (mmachine m)
 SO3SceneSetPlaneShadowCamera : function to set Plane shadow camera.
 
int SO3SceneSetShadowDirectionalLightExtrusionDistance (mmachine m)
 SO3SceneSetShadowDirectionalLightExtrusionDistance : function to defines shadow directional light extrusion distance.
 
int SO3SceneSetShadowFarDistance (mmachine m)
 SO3SceneSetShadowFarDistance : function to defines distance maximum for shadows.
 
int SO3SceneSetShadowTextureFadeStart (mmachine m)
 SO3SceneSetShadowTextureFadeStart : function to defines fade start distance for shadows.
 
int SO3SceneGetShadowTextureFadeStart (mmachine m)
 SO3SceneGetShadowTextureFadeStart : function to get the shadows fade start distance.
 
int SO3SceneSetShadowTextureFadeEnd (mmachine m)
 SO3SceneSetShadowTextureFadeEnd : function to defines fade end distance for shadows.
 
int SO3SceneGetShadowTextureFadeEnd (mmachine m)
 SO3SceneGetShadowTextureFadeEnd : function to get the shadows fade end distance.
 
int SO3SceneGetShadowTechnique (mmachine m)
 SO3SceneGetShadowTechnique : function to defines technique for shadows.
 
int SO3SceneSetShadowDirLightTextureOffset (mmachine m)
 SO3SceneSetShadowDirLightTextureOffset : function to defines texture offset.
 
int SO3SceneGetShadowCameraSetup (mmachine m)
 SO3SceneGetShadowCameraSetup : function to get the shadow camera setup mode.
 
int SO3SceneGetShadowDirectionalLightExtrusionDistance (mmachine m)
 SO3SceneGetShadowDirectionalLightExtrusionDistance : function to get the shadows direction light extrusion distance.
 
int SO3SceneGetShadowFarDistance (mmachine m)
 SO3SceneGetShadowFarDistance : function to get the shadows far distance.
 
int SO3SceneGetShadowDirLightTextureOffset (mmachine m)
 SO3SceneGetShadowDirLightTextureOffset : function to get the shadows direction light texture offset.
 
int SO3SceneGetShadowTextureCount (mmachine m)
 SO3SceneGetShadowTextureCount : function to get the shadows texture count.
 
int SO3SceneSetShadowTechnique (mmachine m)
 SO3SceneSetShadowTechnique : function to get the shadows technique.
 
int SO3SceneSetShadowCaster (mmachine m)
 SO3SceneSetShadowCaster : function to defines shadows caster.
 
int SO3SceneSetShadowReceiver (mmachine m)
 SO3SceneSetShadowReceiver : function to defines shadows receiver.
 
int SO3SceneGetShadowCaster (mmachine m)
 SO3SceneGetShadowCaster : function to retrieve shadows caster material name.
 
int SO3SceneGetShadowReceiver (mmachine m)
 SO3SceneGetShadowReceiver : function to retrieve shadows receiver.
 
int SCOLloadLighting (mmachine m, cbmachine w)
 Load the SO3Engine Shadows functions.
 
int SCOLfreeLighting ()
 free the SO3Engine Viewport function
 

Variables

NativeDefinition natSO3Lighting []
 

Function Documentation

◆ SCOLfreeLighting()

int SCOLfreeLighting ( )

free the SO3Engine Viewport function

Parameters
m: The VM

Definition at line 1663 of file SCOLLighting.cpp.

◆ SCOLloadLighting()

int SCOLloadLighting ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Shadows functions.

Parameters
m: The VM
w: The Callback VM

Definition at line 1653 of file SCOLLighting.cpp.

Variable Documentation

◆ natSO3Lighting

NativeDefinition natSO3Lighting[]

Definition at line 1580 of file SCOLLighting.cpp.