Alexei Dobrohotov
2fdbe9b3f6
Handle BSShader[PP/No]LightingProperty
4 years ago
AnyOldName3
9be258d260
Make it possible to reinstate FFP state easily
4 years ago
AnyOldName3
4f510d85ba
Merge remote-tracking branch 'upstream/master' into alpha-meddling
4 years ago
AnyOldName3
b6e92c9c6d
Use ShaderVisitor to skip translucent framebuffer specific stuff
4 years ago
AnyOldName3
e3fd5efcfe
Disable A2C for alpha-blended drawables
4 years ago
AnyOldName3
8f4b856b44
Initial A2C implementation
4 years ago
AnyOldName3
ce2bcba5d4
Replace deprecated alpha test in shader visitor
4 years ago
AnyOldName3
48f397f168
Remove existing shader when no longer required
4 years ago
AnyOldName3
1e0df23d14
Merge branch 'shadows-bin' into 'master'
...
Use a custom renderbin to avoid pointless OpenGL state switches
See merge request OpenMW/openmw!402
4 years ago
AnyOldName3
72f7e6a702
Handle all shadow alpha uniforms in shadowsbin
4 years ago
Alexei Dobrohotov
b523574090
Remove shader visitor settings manager dependency
4 years ago
Andrei Kortunov
8ca3c3b123
Mark overrided methods by override keyword
4 years ago
AnyOldName3
53b9b41159
Rely on existing alpha test for non-blended shadow casting
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
Capostrophic
0cdc46dfd6
Move forcePPL and clamp to global shader defines (bug #4869 )
6 years ago
AnyOldName3
a41ce42208
Move setting of colorMode to ShaderRequirements in case they're reused
6 years ago
AnyOldName3
ce15369bbd
Convert colorMode shader define to a uniform
6 years ago
scrawl
f1ebb129c1
Fix ShaderVisitor to deal with the fact RigGeometry no longer derives from Geometry
7 years ago
scrawl
b9931fb71c
Set the shader on the node containing the StateSet
7 years ago
scrawl
df6fd5f206
Recognize normalHeightMap in the ShaderVisitor
9 years ago
scrawl
e7682e04ae
Cleanup
9 years ago
scrawl
f01e8a6950
Add specular mapping for objects
9 years ago
scrawl
5cf2441b10
ShaderVisitor: support automatic recognition of normal maps based on file pattern
...
Introduce new settings 'auto use object normal maps', 'auto use terrain normal maps', 'normal map pattern'
9 years ago
scrawl
268594dcf1
Recreate shader in NpcAnimation::setAlpha
9 years ago
scrawl
a73512afb7
Add shader settings to settings.cfg
9 years ago
scrawl
a9ad1b09e2
Introduce ShaderManager & ShaderVisitor
...
Actual shaders still to be written.
9 years ago