I use Hydrax with Caelum end terrain component. But I do not have the caustic effect.
What is my mistake? How to fix it? Thank.
Quite simple !
You just have to add a "Depth Technique" to Hydrax Material Manager
So, once you've loaded hydrax, you just have to put
Just change "mHydrax" with your Hydrax object and " Map " with the material name of your terrain ^^
PS: Personaly, SkyX fit better with Hydrax, and as for me best looking than Caellum, but it's your choice
Sorry for resurrecting this thread, but I have the same problem.
The textures that I'm using for the terrain are:
how do I attach a .material file to the terrain? what does the .material file need to have?
Sorry but I'm new to ogre : P
I solved my problem. Terrain creates the material internally, i didn't know that : ( here's the solution
TerrainGroup::TerrainIterator ti = mTerrain->getTerrainIterator();
Terrain* t = ti.getNext()->instance;
MaterialPtr ptr = t->getMaterial();
just change mTerrain and mHydrax to your applications TerrainGroup var and Hydrax var.
hope this helps anyone with the same problem.
ps: you need to do this with all the objects that go inside the water.