Types
ShadowManager = ref object of RootObj engine* {.cursor.}: MyouEngine light* {.cursor.}: Light required_texture_count*: int32 uses_color_channels*: int8 uses_depth*: bool shadow_index*: int32 sampler_type*: string material*: Material auto_render*: bool min_light_angle_delta*: float32 last_light_dir*: Vec3
- Source Edit
ShadowMapUniform = object depth_matrix*: Mat4 tex_size*: float32 bias*: float32 pad0, pad1: float32
- Source Edit
Consts
USE_SHADOW_SAMPLERS = true
- Source Edit
Procs
proc updateShadowStorage(scene: Scene) {....raises: [Exception], tags: [RootEffect].}
- Creates or updates the storage for all shadow maps of the scene. It must be called after configure_shadow and before render. Source Edit
Methods
method destroy(self: ShadowManager) {.base, locks: "unknown", ...raises: [], tags: [].}
- Source Edit
method renderShadow(self: ShadowManager; camera: Camera): bool {.base, locks: "unknown", ...raises: [], tags: [].}
- Source Edit