Git Product home page Git Product logo

openmw-tpwater's Introduction

OpenMW-TPWater

Stylized water shader for OpenMW based on the water from Twilight Princess

For development builds only (0.49)

Installation

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 image

You can customize some of the shader settings by editing water.frag, tweakables are at the top of the file.

Preview

All preview images use my BloomKawase post process shader available here: https://github.com/EpochWon/OpenMW-PostProcessShaders

screenshot069 screenshot070 screenshot071 screenshot072 screenshot074

Some Notes

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 #ifs at all

openmw-tpwater's People

Contributors

epochwon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.