Home › Forums › Bug Reports and Feature Requests › alpha blending issue
- This topic has 6 replies, 3 voices, and was last updated 1 year, 12 months ago by Alexander Kovelenov.
-
AuthorPosts
-
2022-11-20 at 6:20 pm #57932kdvParticipant
See the picture: a nearly transparent plane is whown white and covers all other objects with alpha blending. Opaque objects are not affected.
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2022-11-20 at 6:59 pm #57954xeonCustomerJust curious if you are disabling the depth write (aka no depth writes).
If not may want to give that a shot?Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2022-11-20 at 7:17 pm #57965xeonCustomerJust tried a few things and the only thing I could do to recreate the issue was to have backface culling unchecked (off).
Attached is a blend file with three walls with alpha blend and one opaque. As long as back-face culling is on…it seems to work…but you will have to check your application needs.
Attachments:
You must be logged in to view attached files.Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2022-11-20 at 7:19 pm #57970xeonCustomerblend file
Attachments:
You must be logged in to view attached files.Xeon
Route 66 Digital
Interactive Solutions - https://www.r66d.com
Tutorials - https://www.xeons3dlab.com2022-11-21 at 7:08 am #58304Alexander KovelenovStaffHi, perhaps this is typical case with alpha sorting. Transparent plane rendered before all other transparent objects and thus prevent them from being rendered. Try to increase the render order property for this plane.
2022-11-21 at 8:02 am #58309kdvParticipantI can’t change
renderOrder
for those walls. they are equal and must hide some objects behind them (not all).In ideal, I want to get this picture, but without
alphaToCoverage = true
. It works perfect in Chrome but looks dithered on Android and takes a little more CPU/GPU time affecting FPS.
The only way I see for now is making objects non-transparent if they have the opacity
1
. Or change their renderOrder to 0 when they are opaque …to recreate the issue was to have backface culling unchecked (off)
In my case this has no infuence. Verge3D materials have no such parameter…
Puzzles and JS coding. Fast and expensive.
If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.
2022-11-21 at 8:40 am #58313Alexander KovelenovStaff -
AuthorPosts
- You must be logged in to reply to this topic.