Home › Forums › Graphics / Maya › Refraction of moving water (From Maya)
- This topic has 11 replies, 3 voices, and was last updated 3 years, 9 months ago by Alexander Kovelenov.
-
AuthorPosts
-
2021-02-09 at 1:19 am #38223benleoParticipant
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.htmlIf there is a workflow I could follow, I’d greatly appreciate some insights.
Many thanks
2021-02-09 at 12:49 pm #38262Mikhail LuzyaninStaffHere’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.
2021-02-09 at 9:14 pm #38303benleoParticipantThank-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 opaqueAttachments:
You must be logged in to view attached files.2021-02-09 at 9:20 pm #38306benleoParticipantHere 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.2021-02-09 at 10:56 pm #38309benleoParticipantHere 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.2021-02-09 at 11:02 pm #38312benleoParticipantHere is a video link to me using your scene and ending up with black opaque objects.
2021-02-09 at 11:27 pm #38313benleoParticipantHere is your scene after I added a sphere, applied the water shader, it rendered black and I deleted the sphere.
Basically exact same scene.2021-02-10 at 8:31 am #38325Mikhail LuzyaninStaffThanks for the example will look at it.
Co-founder and lead graphics specialist at Soft8Soft.
2021-02-10 at 6:38 pm #38372benleoParticipantThat would be great, i’m trying to do a project and it needs water.
Right now it looks like a bug.2021-02-10 at 7:33 pm #38373benleoParticipantThat 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
2021-02-10 at 9:27 pm #38374benleoParticipantSo 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?
2021-02-17 at 12:31 pm #38661Alexander KovelenovStaff -
AuthorPosts
- You must be logged in to reply to this topic.