mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-21 06:39:40 +00:00
Don't accidentally enable alpha testing for all shadow casting
This commit is contained in:
parent
0b5d5eab4c
commit
2ecd00b6db
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ namespace MWRender
|
|||
mRootNode->getOrCreateStateSet()->addUniform(new osg::Uniform("simpleWater", false));
|
||||
|
||||
// Hopefully, anything genuinely requiring the default alpha func of GL_ALWAYS explicitly sets it
|
||||
mRootNode->getOrCreateStateSet()->setAttribute(Shader::RemovedAlphaFunc::getInstance(GL_GREATER));
|
||||
mRootNode->getOrCreateStateSet()->setAttribute(Shader::RemovedAlphaFunc::getInstance(GL_ALWAYS));
|
||||
|
||||
mUniformNear = mRootNode->getOrCreateStateSet()->getUniform("near");
|
||||
mUniformFar = mRootNode->getOrCreateStateSet()->getUniform("far");
|
||||
|
|
Loading…
Reference in a new issue