#include <shadowsshadercallbacks.h>
|
void | OnSetMaterial (const video::SMaterial &material) override |
|
void | OnSetConstants (video::IMaterialRendererServices *services, s32 userData) override |
|
◆ OnSetConstants()
void ShadowDepthShaderCB::OnSetConstants |
( |
video::IMaterialRendererServices * | services, |
|
|
s32 | userData ) |
|
override |
References CameraPos, m_cam_pos_setting, m_color_map_sampler_setting, m_light_mvp_setting, m_map_resolution_setting, m_max_far_setting, m_perspective_bias0, m_perspective_bias1, m_perspective_zbias, MapRes, MaxFar, PerspectiveBiasXY, PerspectiveBiasZ, and CachedShaderSetting< T, count, cache >::set().
◆ OnSetMaterial()
void ShadowDepthShaderCB::OnSetMaterial |
( |
const video::SMaterial & | material | ) |
|
|
inlineoverride |
◆ CameraPos
v3f ShadowDepthShaderCB::CameraPos |
◆ m_cam_pos_setting
◆ m_color_map_sampler_setting
◆ m_light_mvp_setting
◆ m_map_resolution_setting
◆ m_max_far_setting
◆ m_perspective_bias0
◆ m_perspective_bias1
◆ m_perspective_zbias
◆ MapRes
f32 ShadowDepthShaderCB::MapRes {1024.0f} |
◆ MaxFar
f32 ShadowDepthShaderCB::MaxFar {2048.0f} |
◆ PerspectiveBiasXY
f32 ShadowDepthShaderCB::PerspectiveBiasXY {0.9f} |
◆ PerspectiveBiasZ
f32 ShadowDepthShaderCB::PerspectiveBiasZ {0.5f} |
The documentation for this class was generated from the following files: