Water: distortions

This commit is contained in:
2025-09-08 09:46:16 +03:00
parent d42cf2854a
commit 3f59a384e4
4 changed files with 20 additions and 6 deletions

View File

@@ -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 =