Water: distortions
This commit is contained in:
@@ -233,7 +233,7 @@ WaterModule::WaterModule(flecs::world &ecs)
|
||||
texture_unit2->setTextureFiltering(
|
||||
Ogre::FT_MAG, Ogre::FO_LINEAR);
|
||||
texture_unit2->setTextureFiltering(
|
||||
Ogre::FT_MIP, Ogre::FO_NONE);
|
||||
Ogre::FT_MIP, Ogre::FO_LINEAR);
|
||||
#if 0
|
||||
bool success =
|
||||
Ogre::RTShader::ShaderGenerator::getSingletonPtr()
|
||||
@@ -267,6 +267,7 @@ WaterModule::WaterModule(flecs::world &ecs)
|
||||
.getByName("Water/Above");
|
||||
mat->load();
|
||||
#endif
|
||||
mat->load();
|
||||
mat->setReceiveShadows(false);
|
||||
/*
|
||||
auto mat2 =
|
||||
|
||||
Reference in New Issue
Block a user