![]()
Light
Description: Handles lightmaps, dynamic light, fog, etc
Source file: ...\genesis3d\OpenSource\Source\World\LIGHT.h
Functions:
EngineInit, EngineShutdown, WorldInit, WorldShutdown, SetEngine, SetWorld, SetGBSP, WorldAddLight, WorldRemoveLight, SetupLights, SetAttributes, WorldSetLTypeTable, WorldGetLTypeCurrent, SetupLightmap, GetLightmapRGB, GetLightmapRGBBlended, FogVerts Light_DLight, Light_LightInfoConstants:
viewAdditions for Genesis3D v1.6: Type: light, also types float converted to geFloat
![]()
Return to Contents
![]()
Types:
Return to Contents
light
Note: This is available on in Genesis3D v1.6
typedef struct tag_light {
int light;
GE_RGBA color;
int style;
geVec3d origin;
} light;
Return to Contents
![]()
Functions:
![]()
geBoolean Light_EngineInit(geEngine* Engine);
Return to Contents
![]()
Return to Contents
![]()
geBoolean Light_WorldInit(geWorld* World);
Return to Contents
![]()
Return to Contents
![]()
geBoolean Light_SetEngine(geEngine* Engine);
Return to Contents
![]()
geBoolean Light_SetWorld(geWorld* World);
Return to Contents
![]()
geBoolean Light_SetGBSP(World_BSP* BSP);
Return to Contents
![]()
Light_DLight* Light_WorldAddLight(geWorld* World);
Return to Contents
![]()
Return to Contents
![]()
geBoolean Light_SetupLights(geWorld* World);
Return to Contents
![]()
geBoolean Light_SetAttributes( Light_DLight* Light, const geVec3d* Pos, const GE_RGBA* RGBA, float Radius, geBoolean CastShadow);
Return to Contents
![]()
geBoolean Light_WorldSetLTypeTable(geWorld* World, int32 LType, const char * Table);
Return to Contents
![]()
Return to Contents
![]()
Return to Contents
![]()
geBoolean Light_GetLightmapRGB(Surf_SurfInfo* Surf, geVec3d* Pos, GE_RGBA* RGBA);
Return to Contents
![]()
geBoolean Light_GetLightmapRGBBlended(Surf_SurfInfo* Surf, geVec3d* Pos, GE_RGBA* RGBA);
Return to Contents
![]()
Return to Contents
![]()