mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-20 19:44:58 +01:00
Improved water shader
This commit is contained in:
3
gl/ubo.h
3
gl/ubo.h
@@ -149,7 +149,8 @@ namespace gl
|
||||
// the reflection of the surroundings the screen space reflections and the ray tracing don't find, for every pass: x: albedo
|
||||
// of the ground below the horizon of the environment map (gfx.ambient.groundalbedo), y used by the vulkan renderer (the
|
||||
// foliage traced), z: the share of the light of the sun the low poly interiors (and the cab without its probe) get as the light
|
||||
// which comes in through their windows and bounces around them (gfx.interior.bounce), w unused
|
||||
// which comes in through their windows and bounces around them (gfx.interior.bounce), w: 1 when the water of the scenery is drawn
|
||||
// as realistic (gfx.water.realistic, water_surface.glsl), 0 as before
|
||||
glm::vec4 env_params;
|
||||
// the water on the windscreens (mat_rain_windscreen): xyz the velocity of the air against the vehicle of the camera (the
|
||||
// share of the wind the particles of the rain drift with, less the velocity of the vehicle), world space, m/s; w unused
|
||||
|
||||
Reference in New Issue
Block a user