psi29a
7a6fa45ece
Merge branch 'ripple-tweaks' into 'master'
...
Ripple shader tweaks
See merge request OpenMW/openmw!4351
2024-09-09 19:04:50 +00:00
epochwon
c1a9294e17
ripple tweaks
2024-08-31 14:07:28 -04:00
Alexei Kotov
176dec45a7
Make light attenuation fade optional
...
This also makes Force Per Pixel Lighting caption shorter to provide more space for the new button
2024-08-30 10:03:37 +03:00
Alexei Kotov
f87aa02390
Don't clamp individual light contribution in shaders as FFP doesn't do this
2024-05-23 18:06:10 +03:00
Alexei Kotov
6b90d7f1da
Deobfuscate lighting illumination calculation
2024-04-30 16:57:32 +03:00
Alexei Kotov
f2e0129436
Convert water/ripple defines to camelCase
2024-04-04 21:12:47 +03:00
Cody Glassman
187f63d3d3
support postprocess distortion
2023-12-21 10:56:38 -08:00
Alexei Kotov
93ea9dbc3b
Do all lighting calculations in one place, support per-vertex specularity
...
Force PPL when specular maps are used
2023-12-15 11:44:54 +03:00
Alexei Kotov
d1274fd3db
Deduplicate lambert calculations, consolidate doLighting
2023-12-15 10:36:47 +03:00
Alexei Kotov
4a96885323
Untangle normals and parallax handling
...
Move tangent space generation to the vertex shaders
Support diffuse parallax when no normal map is present
Don't use diffuse parallax if there's no diffuse map
Generalize normal-to-view conversion
Rewrite parallax
2023-12-12 22:42:53 +03:00
Alexei Kotov
820fc068d1
Support point specular lighting ( #6188 )
...
Fix passing light specular colors with shader lighting methods (with help from wazabear)
2023-11-04 17:58:51 +03:00
Cody Glassman
09928ba265
use a dynamic falloff range for soft effect and use shader flags
2023-10-28 10:23:55 -07:00
Andrei Kortunov
1be1f72f6c
Improve shaders formatting
2023-04-21 09:02:12 +04:00
psi29a
b0a129d6e4
Merge branch 'ripples' into 'master'
...
Implement shader-based water ripples
See merge request OpenMW/openmw!2877
2023-04-02 22:43:22 +00:00
Mads Buvik Sandvei
e666f36b60
[Multiview] Fix transparent pass and vertex shader
2023-04-01 20:27:07 +00:00
Andrei Kortunov
e17281ac67
Implement shader-based water ripples (feature 3537)
2023-04-01 17:26:19 +04:00
Cody Glassman
6a64f352a4
fix shader compilation
2023-02-26 14:31:53 -08:00
Cody Glassman
ac4787aeec
shade refactor
2023-02-25 11:03:39 -08:00