Home › Forums › Graphics / Blender › Transparent object goin through opaque object
Tagged: blender, transparency
- This topic has 12 replies, 4 voices, and was last updated 4 years, 3 months ago by daynelittlewood.
-
AuthorPosts
-
2020-08-22 at 1:46 pm #31853dragosburianCustomer
Hello,
Is there a way for having an opaque object be transparent in the area where a transparent object is going through it? Imagine like having a wall that is being intersected by a transparent cube which will make the area intersected transparent, as if there is a window. Maybe material nodes can be exploited in this way?
Dragos2020-08-23 at 7:49 am #31871Yuri KovelenovStaffHi Dragos,
you can possibly use shape keys for that: https://www.soft8soft.com/docs/manual/en/blender/Morphing.html
This way you can place the cut off with puzzles where you need the window.
2020-08-23 at 4:06 pm #31906GLiFTeKCustomerPossibly use depth sorting?
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-08-24 at 11:46 am #31926dragosburianCustomerHello Yuri,
The models are on the more complicated side, sometimes needing as much as 20-30 windows, that is why I would prefer going down the material route, I used to use this node(Light Path) when doing such things, but it seems it only works with Cycles, can this be possibly added to Verge(Eevee doesn’t use it either)?
Dragos
2020-08-24 at 1:11 pm #31935Yuri KovelenovStaffHi,
this technique requires layered rendering of transparent geometry, which is not very suitable for real-time (hence, no such output in EEVEE).
You might try making both the wall and the windows transparent and then playing with rendering order which is an object-level setting.
2020-08-26 at 7:08 am #31975dragosburianCustomerHello Yuri,
The problem is I do not want the wall to be transparent, just at the point of meeting.2020-08-26 at 7:58 am #31978Yuri KovelenovStaffwhat I mean is that you can set the wall material to be Alpha Blend for example, leaving its alpha at 1.
This will enable for the possibility to play with rendering order of the wall object and the window object. See more here:
https://www.soft8soft.com/docs/manual/en/blender/Transparency.html#rendering_order
2020-08-29 at 10:12 pm #32165daynelittlewoodParticipantHello,
I am having an issue with my FPS. About 2 weeks ago, I had this exact scene which could run at 60 FPS and had no lag whatsoever, then out of nowhere, it dropped down to about 15 FPS. I am trying to show the different air spaces for pilot, using transparent cubes as the airspace.I am running the most current version of Google Chrome, I have a Radeon RX570 GPU, and I can’t figure out what is causing the serious lag.
My most complex mesh is only 395 faces. The only thing I imagine it to be is the transparent shaders? Any insight is appreciated.
2020-08-30 at 4:26 am #32178Yuri KovelenovStaff@daynelittlewood
Hi,is it possible for you to share your project on the forums so that we take a look?
2020-08-30 at 6:33 pm #32214daynelittlewoodParticipantWhat is the best way to upload a file that is more than 4MB? My .blend file is more than that.
2020-08-31 at 4:53 am #32225Yuri KovelenovStaff2020-08-31 at 9:19 am #32236GLiFTeKCustomerWhat is the best way to upload a file that is more than 4MB? My .blend file is more than that.
you can make a copy of the project folder and take out unnecessary things like puzzle backups and the blend and gltf files, then zip those 2 and attach them separately.
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-08-31 at 5:44 pm #32259daynelittlewoodParticipantHere is a link to the .blend file and the gLTF. I also included a screen recording from a month ago when it was working perfectly. Thank you for taking a look at it. I am sure there are some optimizations I overlooked since this is my first time using Verge. Please let me know what changes can be made.
https://drive.google.com/drive/folders/14jAZGjswp9BmKbvfeBiC2kDoPKXfkLLW?usp=sharing
-
AuthorPosts
- You must be logged in to reply to this topic.