Commit Graph

18 Commits (master)

Author SHA1 Message Date
glassmancody.info 43ac32921c Rewrite, support different lighting methods 4 years ago
glassmancody.info 9d9074c244 Add shared UBO 4 years ago
glassmancody.info dda735c54a initial commit 4 years ago
AnyOldName3 72f7e6a702 Handle all shadow alpha uniforms in shadowsbin 4 years ago
elsid 40ad87bc4d
Replace OpenThreads by std types 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
elsid 1f3dfaedcc
Add tests for ShaderManager 5 years ago
elsid edf002aa97
Rename argument shaderTemplate to templateName 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
AnyOldName3 0124be5713 Merge upstream/master 6 years ago
Andrei Kortunov e06f0b797a Replace all NULLs to nullptr 6 years ago
AnyOldName3 b08938485f Make suspending viewer threads the responsibility of the caller, not the shader manager. 7 years ago
AnyOldName3 229cc9696f Make updating global shader defines update shaders. 7 years ago
AnyOldName3 98cd9fc144 Add preliminary support for global shader defines. 7 years ago
AnyOldName3 715f29165b Dynamically adjust shaders to have the required number of shadow maps. 7 years ago
scrawl 4fba157d3b Implement releaseGLObjects for cached resources 7 years ago
scrawl 22cc5c0965 Cache the Program 9 years ago
scrawl a9ad1b09e2 Introduce ShaderManager & ShaderVisitor
Actual shaders still to be written.
9 years ago