| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
* Pass perspective distortion parameters as uniforms
* Set all perspective bias parameters via ShadowRenderer
* Recalibrate perspective distortion and shadow range to render less shadow geometry with the same quality and observed shadow distance
|
|
|
| |
* Also Disable shadows when sun/moon is hidden. Fixes #11972.
|
|
|
|
|
|
| |
Remove use of magic constants.
Apply cameraOffset
Calculate distance projected on SM plane
|
| |
|
|
|
|
|
| |
Pass correct natural & artificial light to the shaders
Use natural/artificial light ratio for correct rendering of shadows
|
| |
|
|
|
| |
Co-authored-by: x2048 <codeforsmile@gmail.com>
|
| |
|
| |
|
|
|
|
|
| |
This only works when shaders are enabled.
The centroid varying avoids that the textures (which repeat themselves out of bounds) are sampled out of bounds in MSAA.
If MSAA (called FSAA in minetest) is disabled, the centroid keyword does nothing.
|
|
|
|
|
| |
Shader support for OpenGL ES 2 devices (Android)
Co-authored-by: sfan5 <sfan5@live.de>
|
| |
|
| |
|
|
|
| |
Fixes a regression that appeared in 5.3.0-dev.
|
|
|
| |
fixes #9481
|
|
|