glassmancody.info
c48eee4eee
Clamp vertex lighting before interpolation
...
Fixes a regression in which pass lighting was clamped after being passed
to fragment shader. For correct FFP emulation, we need to clamp the result
in vertex shader. When clamping after interpolation, negative lights in
particular have a much more drastic effect.
2021-04-22 16:53:37 -07:00
glassmancody.info
08b5681284
Missed redundant formatting changes
2021-04-13 11:09:35 -07:00
glassmancody.info
7370acdf54
Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up
2021-04-13 11:09:19 -07:00
glassmancody.info
43ac32921c
Rewrite, support different lighting methods
2021-04-13 11:09:19 -07:00
glassmancody.info
dda735c54a
initial commit
2021-04-13 11:06:16 -07:00
Alexei Dobrohotov
2fdbe9b3f6
Handle BSShader[PP/No]LightingProperty
2021-03-22 01:55:58 +03:00
Alexei Dobrohotov
09759c6620
Clean up shader lighting
2020-12-22 04:46:35 +03:00
Andrei Kortunov
f30cb9f8bc
Calculate viewNormal only when needed
2020-06-15 12:57:37 +04:00
Capostrophic
58d78fb126
Always pass the vertex color to the fragment shader
2020-05-12 18:28:07 +03:00
Andrei Kortunov
02444add2a
Support for radial fog (feature #4708 )
2020-03-17 23:09:28 +04:00
Capostrophic
19a7245251
Add bump mapping support
2020-03-03 13:32:30 +03:00
AnyOldName3
556c9a3382
Add normal-offset shadow mapping to remove shadow acne (flicker)
2019-01-30 22:28:00 +00:00
AnyOldName3
a7e53df278
Move common shadow code to shared shadow shader headers
2018-06-24 23:40:52 +01:00
AnyOldName3
b25b356081
Sort out shader indentation
2018-06-22 01:02:01 +01:00
AnyOldName3
44b2cf2b7f
Merge upstream.
2018-05-11 19:15:04 +01:00
Capostrophic
b08d7b4a3b
Use centroid interpolation for shader lighting ( fixes #4143 )
2018-04-14 00:30:28 +03:00
AnyOldName3
590531595b
Create @foreach shader preprocessor macro in preparation for moving shadow setup out of shadermanager.cpp
2017-11-10 02:02:27 +00:00
AnyOldName3
715f29165b
Dynamically adjust shaders to have the required number of shadow maps.
2017-11-07 20:22:45 +00:00
AnyOldName3
56fa33af66
Enable parallel split shadow maps
2017-11-07 00:32:04 +00:00
AnyOldName3
3f63ebce77
Theoretically, at least, fix everything (except hte sky issue which is resolved in another branch)
2017-11-05 14:37:36 +00:00
AnyOldName3
26ecf2088b
Make shadows play nicely with per-vertex lighting
2017-09-21 01:59:02 +01:00
AnyOldName3
f50063402d
Adjust shaders to support shadows
2017-09-21 00:25:48 +01:00
scrawl
8e23c37668
Flip the parallax offset Y component based on tangent parity (Bug #3440 )
2016-06-16 18:07:10 +02:00
scrawl
b4dda045a6
Pass the tangent in object space
2016-03-22 21:46:15 +01:00
scrawl
6e7c6fdd7e
Implement NiTexturingProperty::DecalTexture
2016-03-01 18:41:36 +01:00
scrawl
414c19f717
Fix detailMapUV bug
2016-03-01 18:40:18 +01:00
scrawl
f01e8a6950
Add specular mapping for objects
2016-02-20 19:55:08 +01:00
scrawl
5e12a1b4ef
Add enchanted item glow to the shader
2016-02-18 23:05:44 +01:00
scrawl
a73512afb7
Add shader settings to settings.cfg
2016-02-18 19:38:34 +01:00
scrawl
e5a37a7023
Add normal map code
2016-02-18 19:37:59 +01:00
scrawl
18e80d5627
Add per-pixel lighting code
2016-02-18 19:37:59 +01:00
scrawl
1223bca3d4
Move doLighting to separate file
2016-02-18 19:37:59 +01:00
scrawl
456816f707
Use diffuse.a / vertex.a, use material emission
2016-02-18 19:37:58 +01:00
scrawl
5fd84074c5
Reimplement detailMap, darkMap and emissiveMap
2016-02-18 19:37:58 +01:00
scrawl
e845c576d4
Use the texture matrix
2016-02-18 19:37:58 +01:00
scrawl
3859c58a8a
Assign gl_ClipVertex in the vertex shader to make clip planes work
2016-02-18 19:37:57 +01:00
scrawl
9376811213
Vertex lighting shader
2016-02-18 19:37:57 +01:00
scrawl
044e0a829a
Add fog
2016-02-18 19:37:57 +01:00
scrawl
a9ad1b09e2
Introduce ShaderManager & ShaderVisitor
...
Actual shaders still to be written.
2016-02-18 19:37:56 +01:00