Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
muglore's avatar
muglore
Explorer
12 years ago

Best water shader for rift + unity

I've tried several water shaders including the unity pro water shader and the tasharen water, but both use screen space rendering which results in pixel artifacts and inconsistent visual feedback, not to mention a massive hit on frame rate when rendering dual.

I'm curious if anyone has found a good reflective/transparent water shader with sine animation that plays nice in unity with the oculus ovr?

14 Replies

Replies have been turned off for this discussion
  • "madScientist" wrote:
    CubicleNinjas,
    The Beta SDK has a third camera directly on the OVRCameraController game object. In Suimono, I set this as the main camera and also checked the "Use UV Reversal" box.


    Thank you Mad! Worth a shot here. Really appreciate sharing this info!
  • The reflection problem looks a lot like another bug while using Linear color space:
    viewtopic.php?f=34&t=7868

    you could try and see if this fixes the problem:

    "Postby basedeltazero » Fri May 16, 2014 1:59 am
    It seems that disabling the OVRMain menu script from the OVRPlayerController fixes the linear color space shadow problem.

    I wonder whats broken with that script?"
  • camster's avatar
    camster
    Honored Guest
    Anyone have a good resolve for best Unity water system with rift yet please?
  • karrtoon's avatar
    karrtoon
    Expert Protege
    Not sure if this fits your criteria, but try this one https://m.reddit.com/r/oculus/comments/ ... readnext_0

    If you read OP's comments in comments section he gives a link to the code for it for Unity and instructions on how to get it working. Not sure about the copyright on shadertoy stuff though.