aboutsummaryrefslogtreecommitdiff
path: root/src/client/shader.cpp
AgeCommit message (Collapse)Author
2023-01-06Add dynamic exposure correction (#12959)x2048
* Add uniform for frame delta time * Adjust exposure in logarithmic (EV) space * Add network support and LUA API * Add testing mod
2022-11-30Remove shader caching hack. (#12991)lhofhansl
2022-11-09Fix typos and en_US/en_GB inconsistency in various files (#12902)Abdou-31
2022-09-29Bloom (#12791)x2048
Adds configurable light exposure control and bloom effect (light bleeding) with client-side settings.
2022-09-06Code optimizations / refactor (#12704)Herman Semenov
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: sfan5 <sfan5@live.de>
2022-09-06Implement rendering pipeline and post-processing (#12465)x2048
Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: lhofhansl <lhofhansl@yahoo.com>
2022-05-21Improve shadow filters (#12195)x2048
* Rewrite shadow filtering for the new distortion * Calculate penumbra radius using a single sample * Avoid peter-panning effect due to filtering of short shadows * Add adaptive filter quality for soft shadows * Avoid sharp shadows on surfaces without normals (e.g. plants) * Increase default and maximum soft shadow radius * Make line numbers in shader errors match the code
2022-04-08Fix compiler warningsShadowNinja
2022-04-07Adjust shadowmap distortion to use entire SM texture (#12166)x2048
2022-03-31Tune shadow perspective distortion (#12146)x2048
* 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
2022-03-09Use Irrlicht bindings for GL callsfan5
2022-01-31Revert "Disable dynamic shadows for the 5.5.0 release" (#12032)rubenwardy
2022-01-29Disable dynamic shadows for the 5.5.0 releaseSmallJoker
The dynamic shadows are yet not in the desired state to justify the inclusion into version 5.5.0. A stable release is long overdue, hence this allows fixes to continue in 5.6.0-dev to finally release an acceptable version of the dynamic shadows feature. Reverting this commit is highly recommended to proceed in development.
2021-09-17Fix GLES2 discard behaviour (texture transparency)sfan5
2021-07-11Improve shadow rendering with non-default camera FOV (#11385)x2048
* Adjust minimum filter radius for perspective * Expand shadow frustum when camera FOV changes, reuse FOV distance adjustment from numeric.cpp * Read shadow_soft_radius setting as float * Use adaptive filter radius to accomodate for PSM distortion * Adjust filter radius for texture resolution
2021-06-06Shadow mapping render pass (#11244)Liso
Co-authored-by: x2048 <codeforsmile@gmail.com>
2021-04-18GLES fixes (#11205)sfan5
* Consistently set float precision for GLES * Enable DPI scaling on Windows+GLES
2020-12-19Cleanup shader generation code (#10663)Vitaliy
Shader generation is a mess. This commit cleans some parts up, including dropping remains of HLSL support which was never actually implemented.
2020-11-26Allow missing shadersnumzero
2020-11-05Fix integer-string conversion for shaderssfan5
closes #10605
2020-10-25Shaders for Android (GLES 2) (#10506)Vitaliy
Shader support for OpenGL ES 2 devices (Android) Co-authored-by: sfan5 <sfan5@live.de>
2020-10-17Remove all bump mapping and parallax occlusion related code.Lars
2020-09-14Remove "generate normal maps" feature (#10313)hecks
Erase all traces of normal "generation" from fragment shaders Remove the "feature" from the engine and default config Remove any leftover documentation of it
2020-09-09Darwin platform build fix (#10376)David CARLIER
the event header seemingly being generic with libevent thus renaming it. openal and opengl are deprecated on newer mac os releases thus suppressing the build warnings.
2020-08-25shaders: Fix transparency on GC7000L (#10036)mntmn
Workaround for the missing GL_ALPHA_TEST implementation in Mesa (etnaviv driver).
2020-06-16Make shading of CAOs optional (#10033)Danila Shutov
2020-02-16Basic model shading (#9374)Danila Shutov
2019-03-27Require 'waving = 3' in a nodedef to apply the liquid waving shader (#8418)Paramat
Makes the liquid waving shader per-nodedef like waving leaves/plants, instead of being applied to all liquids. Like the waving leaves/plants shaders, the liquid waving shader can also be applied to meshes and nodeboxes. Derived from a PR by t0ny2.
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin
Update Android.mk Remove 'src/client' from include_directories