Stylized water shader for OpenMW based on the water from Twilight Princess
For development builds only (0.49)
Place water_nm.png
into OpenMW\resources\vfs\textures\omw
, make a backup of the original texture.
Place water.frag
into OpenMW\resources\shaders\compatibility
, make a backup of the original file.
In-game, in the Options -> Video -> Water tab, enable Water Shader
, Refraction
, Sunlight Scattering
, Wobbly Shores
You can customize some of the shader settings by editing water.frag
, tweakables are at the top of the file.
All preview images use my BloomKawase post process shader available here: https://github.com/EpochWon/OpenMW-PostProcessShaders
This is not completely accurate to TP since TP uses custom authored mip maps to make the water fade out look nicer, along with using channel packed alpha, which I can't do without changing the texture sampler in the engine code. I also took some liberties with adding reflections and the way fade out is handled, because relying entirely on mips doesn't look very good for the large bodies of water in Morrowind.
Also you only need to enable all the water settings in-game because I am lazy and did not hook up the #if
s at all