12 #ifndef RE_ShadowMap_h
13 #define RE_ShadowMap_h
32 #define RE_SHADOW_MAX_MAPS \
33 (RE_SHADOW_MAX_AREA_MAPS > RE_SHADOW_NUM_CUBE_MAPS ? \
34 RE_SHADOW_MAX_AREA_MAPS : RE_SHADOW_NUM_CUBE_MAPS)
44 void setMultiMap(
bool m);
45 bool isMultiMap()
const;
50 void useLinearDepthMap(
bool ld);
51 bool usesLinearDepthMap()
const;
57 void getShadowMapTransform(
RE_Render *
r,
bool bias,
63 int xform_mask = 0x3);
94 int getNumAreaMaps()
const;
120 bool prepShadowCubeRender(
RE_Render *r,
int area_index);
121 void finishShadowCubeRender(
RE_Render *r,
int area_index);
124 void finishCascadeMapRender(
RE_Render *r);
126 void clearMaps(
bool keep_first_map);
134 static bool shTexDeleted(
RE_Texture *tex,
void *shmapobj);
158 bool myLinearDepthMap;
void setVersion(int64 version)
#define RE_SHADOW_MAX_AREA_MAPS
#define RE_SHADOW_MAX_MAPS
void setAreaLightShape(RE_LightAreaShape sh)
fpreal getFrameTime() const
void getZClipRange(fpreal &n, fpreal &f)
void setFrameTime(fpreal t)
GA_API const UT_StringHolder transform
GT_API const UT_StringHolder version
RE_LightAreaShape getAreaLightShape() const
SIM_API const UT_StringHolder position