Bret Curtis
355996c2ff
supress -> suppress
5 years ago
Andrei Kortunov
9bc0e9b4b7
Fix typos in shaders
5 years ago
Andrei Kortunov
f30cb9f8bc
Calculate viewNormal only when needed
5 years ago
Capostrophic
91514aed5d
Don't deliberately do redundant assignments
5 years ago
Capostrophic
1c50d25853
Minor shader fixes
...
Don't initialize uniform bool to false explicitly
Attempt not to calculate specular lighting if the material specular color is black
5 years ago
Capostrophic
58d78fb126
Always pass the vertex color to the fragment shader
5 years ago
Capostrophic
c0b322b264
Improve color mode handling in shaders
5 years ago
psi29a
b72720f357
Merge branch 'shadow-transparency-rework' into 'master'
...
Only alpha-test shadows when necessary
See merge request OpenMW/openmw!170
5 years ago
Bret Curtis
aaa8990006
Merge pull request #2799 from Capostrophic/simplewaterfog
...
Fix simple water with radial fog enabled
5 years ago
Sisah
b19f53aab6
Fix parallax and specular for android
5 years ago
Capostrophic
688e804548
Fix simple water with radial fog enabled
5 years ago
AnyOldName3
53b9b41159
Rely on existing alpha test for non-blended shadow casting
5 years ago
Capostrophic
bbf6b4e517
Don't radialize underwater fog
5 years ago
AnyOldName3
12044a607b
Only alpha-test shadows when necessary
...
Previously we always discarded shadow map fragments if the alpha channel of the output would have been low, but there were some (modded) assets that have non-one alpha but have testing or blending disabled so end up opaque anyway. This lets the shadows of those objects match.
5 years ago
Andrei Kortunov
02444add2a
Support for radial fog (feature #4708 )
5 years ago
Capostrophic
6999f1fd28
Add an option to apply lighting to environment maps
5 years ago
Capostrophic
19a7245251
Add bump mapping support
5 years ago
bzzt
b6ed2f1718
Add optional shadow map max distance and fading
5 years ago
Capostrophic
cf0c71c651
Water shader cleanup
5 years ago
Andrei Kortunov
1c545c8f6d
Fix a regression with variable declarations in water shader
6 years ago
Alexei Dobrohotov
4a5e2d1d4e
Merge pull request #2281 from akortunov/shaders
...
Minor water shader fixes
6 years ago
Capostrophic
e49232074b
Shader adjustments
...
Clamp directional per-vertex diffuse lighting
Simplify vectors
6 years ago
bzzt
4708db258e
Minor water shader cleanup - avoid redundant calculations
6 years ago
Capostrophic
02242ce66b
Fix shader specular lighting (again)
6 years ago
AnyOldName3
5b2691e744
Actually use specular shininess parameter instead of hardcoded value.
6 years ago
Chris Djali
cb5a57e41b
Merge pull request #1547 from AnyOldName3/osgshadow-test-vdsm
...
Shadows
6 years ago
AnyOldName3
f3fc888ab9
Merge branch 'osgshadow-test-vdsm-mesa-optimised-shader-2' into osgshadow-test-vdsm
6 years ago
AnyOldName3
9b92943d1a
Don't rely exclusively on a shadow map when out of its depth range
6 years ago
AnyOldName3
556c9a3382
Add normal-offset shadow mapping to remove shadow acne (flicker)
6 years ago
Capostrophic
731f91759e
Account for inverted tangents on normal-mapped objects (bug #3733 )
6 years ago
AnyOldName3
2d5da1a6fa
Don't exclusively rely on a shadow map if its bounds have been expanded since the cull traversal.
6 years ago
AnyOldName3
49487355a5
Merge branch 'osgshadow-test-vdsm' of https://github.com/AnyOldName3/openmw into osgshadow-test-vdsm
6 years ago
AnyOldName3
0bafa4399b
Use distant shadow maps when the current fragment is outside the depth range of the near ones.
6 years ago
AnyOldName3
ad9dab8593
Switch alpha test from < to <= to fix weird shadows on actors with 50% chameleon
6 years ago
AnyOldName3
e22ab64ebf
Fix typo in lighting.glsl
6 years ago
AnyOldName3
85b97d19d3
Add alpha threshold for shadow casting.
6 years ago
AnyOldName3
474770eca8
Switch shadow map rendering to a specialised, simplified shader.
6 years ago
AnyOldName3
ce15369bbd
Convert colorMode shader define to a uniform
6 years ago
AnyOldName3
0124be5713
Merge upstream/master
6 years ago
Capostrophic
52da65b776
Fix issues with sun specularity (bug #4527 )
6 years ago
AnyOldName3
1098bd2467
Optimise lighting.glsl for Mesa users.
6 years ago
AnyOldName3
cc23a968d1
Merge upstream/master
7 years ago
AnyOldName3
f717c9e56d
Sort out some tabs which snuck into the water shader
7 years ago
Miloslav Číž
4e3bc3e403
Change wave parameters based on weather
7 years ago
AnyOldName3
85aba2e1da
Add toggleable shadow debug overlay.
7 years ago
AnyOldName3
a7e53df278
Move common shadow code to shared shadow shader headers
7 years ago
AnyOldName3
933ed77ef6
Fix water shader alignment issues noticed while removing tabs.
7 years ago
AnyOldName3
b25b356081
Sort out shader indentation
7 years ago
AnyOldName3
553094669b
Merge upstream/master (& fix merge conflicts)
7 years ago
Miloslav Číž
d629c30fdb
Merge branch 'master' into screenshot360
7 years ago