We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Refraction of moving water (From Maya)

Home Forums Graphics / Maya Refraction of moving water (From Maya)

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #38223
    benleo
    Participant

    Hello,

    I’m looking for a workflow that can render water deformations on the surface of an object and also refraction.
    I got a bump working (I think I see it on the suface) that’s animating but I cannot get refraction to work.
    I tried the blend mode and I tried both post processing puzzles “Simple Refraction” and “Screen Space” – no luck.
    I’m basically trying to do this:
    https://cdn.soft8soft.com/demo/examples/webgl_refraction.html

    If there is a workflow I could follow, I’d greatly appreciate some insights.

    Many thanks

    #38262

    Here’s a simple example for you. If you want to use refraction you need to leave Blend Type of object as opaque then enable transmission and enable simple refraction for this object.

    Attachments:
    You must be logged in to view attached files.

    Co-founder and lead graphics specialist at Soft8Soft.

    #38303
    benleo
    Participant

    Thank-you, much appreciated.
    Your scene file however does not show a verge section in the AiStandard shader, there is no “Opaque” or “Blend” setting in your scene on the shader. The manual says use “Blend” and you are saying use “opaque”.
    I cannot reproduce what you did in my scene.
    I’ve attached your shader settings as an image.
    I imported your shader added it to a poly sphere and it’s completely opaque

    Attachments:
    You must be logged in to view attached files.
    #38306
    benleo
    Participant

    Here is your plane imported into my scene with your shader applied with the puzzle applied. Maya 2020 on Catalina

    Attachments:
    You must be logged in to view attached files.
    #38309
    benleo
    Participant

    Here is a video recording of your scene not being updatable or reproducible, if I place any objects in the scene they turn opaque black, if I export your shader they turn objects invisible in the verge scene.

    Attachments:
    You must be logged in to view attached files.
    #38312
    benleo
    Participant

    Here is a video link to me using your scene and ending up with black opaque objects.

    https://www.dropbox.com/s/gqxu1su9yu4h2wz/Screen%20Recording%202021-02-09%20at%202.46.26%20PM.mov?dl=0

    #38313
    benleo
    Participant

    Here is your scene after I added a sphere, applied the water shader, it rendered black and I deleted the sphere.
    Basically exact same scene.

    #38325

    Thanks for the example will look at it.

    Co-founder and lead graphics specialist at Soft8Soft.

    #38372
    benleo
    Participant

    That would be great, i’m trying to do a project and it needs water.
    Right now it looks like a bug.

    #38373
    benleo
    Participant

    That would be great, i’m trying to do a project and it needs water.
    Right now it looks like a bug.
    I think it’s because you created that file in maya 2019 on PC.
    On Mac there is no Verge 3d settings in AiStandard Shader available.

    Looks to me like refraction is not possible on MAc

    #38374
    benleo
    Participant

    So after doing some extensive testing on PC and MAC on Maya 2019 and 2020:

    The only version of Maya that has Verge3D settings on an AiStandard Shader is maya 2020 on Mac and refraction does not work.
    The test file you sent is immutable and renders black if i save over it and export gltf on ALL versions.

    I would love to use this software on a real project but this is essentially the only stumbling block.

    Could you write a patch to get refraction to work?

    #38661

    Hi,
    I tested your scene in both 2019 and 2020 on macOS 11 Big Sur. Can not reproduce the black material issue.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.