|
| Sky * | m_sky |
| Client * | m_client |
| CachedVertexShaderSetting< float > | m_animation_timer_vertex {"animationTimer"} |
| CachedPixelShaderSetting< float > | m_animation_timer_pixel {"animationTimer"} |
| CachedVertexShaderSetting< float > | m_animation_timer_delta_vertex {"animationTimerDelta"} |
| CachedPixelShaderSetting< float > | m_animation_timer_delta_pixel {"animationTimerDelta"} |
| int | m_crack_animation_length_i |
| CachedPixelShaderSetting< float > | m_crack_animation_length {"crackAnimationLength"} |
| int | m_crack_level_i = -1 |
| CachedPixelShaderSetting< float > | m_crack_level {"crackLevel"} |
| int | m_crack_texture_scale_i = 0 |
| CachedPixelShaderSetting< float > | m_crack_texture_scale {"crackTextureScale"} |
| CachedPixelShaderSetting< float, 3 > | m_day_light {"dayLight"} |
| CachedPixelShaderSetting< float, 3 > | m_minimap_yaw {"yawVec"} |
| CachedPixelShaderSetting< float, 3 > | m_camera_offset_pixel {"cameraOffset"} |
| CachedVertexShaderSetting< float, 3 > | m_camera_offset_vertex {"cameraOffset"} |
| CachedPixelShaderSetting< float, 3 > | m_camera_position_pixel {"cameraPosition"} |
| CachedVertexShaderSetting< float, 3 > | m_camera_position_vertex {"cameraPosition"} |
| CachedVertexShaderSetting< float, 2 > | m_texel_size0_vertex {"texelSize0"} |
| CachedPixelShaderSetting< float, 2 > | m_texel_size0_pixel {"texelSize0"} |
| v2f | m_texel_size0 |
| CachedStructPixelShaderSetting< float, 7 > | m_exposure_params_pixel |
| float | m_user_exposure_compensation |
| bool | m_bloom_enabled |
| CachedPixelShaderSetting< float > | m_bloom_intensity_pixel {"bloomIntensity"} |
| CachedPixelShaderSetting< float > | m_bloom_strength_pixel {"bloomStrength"} |
| CachedPixelShaderSetting< float > | m_bloom_radius_pixel {"bloomRadius"} |
| CachedPixelShaderSetting< float > | m_saturation_pixel {"saturation"} |
| bool | m_volumetric_light_enabled |
| CachedPixelShaderSetting< float, 3 > | m_sun_position_pixel {"sunPositionScreen"} |
| CachedPixelShaderSetting< float > | m_sun_brightness_pixel {"sunBrightness"} |
| CachedPixelShaderSetting< float, 3 > | m_moon_position_pixel {"moonPositionScreen"} |
| CachedPixelShaderSetting< float > | m_moon_brightness_pixel {"moonBrightness"} |
| CachedPixelShaderSetting< float > | m_volumetric_light_strength_pixel {"volumetricLightStrength"} |
| void GameGlobalShaderUniformSetter::onSetUniforms |
( |
video::IMaterialRendererServices * | services | ) |
|
|
inlineoverridevirtual |
Called when uniforms need to be updated.
- Parameters
-
| services | interface for setting uniforms |
Implements IShaderUniformSetter.
References BS, AutoExposure::center_weight_power, AutoExposure::exposure_correction, get_sunlight_color(), Client::getCamera(), Camera::getCameraNode(), Environment::getDayNightRatio(), Client::getEnv(), ClientEnvironment::getFrameTime(), ClientEnvironment::getFrameTimeDelta(), LocalPlayer::getLighting(), ClientEnvironment::getLocalPlayer(), Client::getMinimap(), Sky::getMoonDirection(), Sky::getMoonVisible(), Camera::getOffset(), Camera::getPosition(), Sky::getSunDirection(), Sky::getSunVisible(), Minimap::getYawVec(), intToFloat(), AutoExposure::luminance_max, AutoExposure::luminance_min, m_animation_timer_delta_pixel, m_animation_timer_delta_vertex, m_animation_timer_pixel, m_animation_timer_vertex, m_bloom_enabled, m_bloom_intensity_pixel, m_bloom_radius_pixel, m_bloom_strength_pixel, m_camera_offset_pixel, m_camera_offset_vertex, m_camera_position_pixel, m_client, m_crack_animation_length, m_crack_animation_length_i, m_crack_level, m_crack_level_i, m_crack_texture_scale, m_crack_texture_scale_i, m_day_light, m_exposure_params_pixel, m_minimap_yaw, m_moon_brightness_pixel, m_moon_position_pixel, m_saturation_pixel, m_sky, m_sun_brightness_pixel, m_sun_position_pixel, m_texel_size0, m_texel_size0_pixel, m_texel_size0_vertex, m_user_exposure_compensation, m_volumetric_light_enabled, m_volumetric_light_strength_pixel, CachedShaderSetting< T, count, cache >::set(), CachedStructShaderSetting< T, count, cache, is_pixel >::set(), AutoExposure::speed_bright_dark, and AutoExposure::speed_dark_bright.