How To Fix Transparency

  Рет қаралды 38,294

poiyomi

poiyomi

Күн бұрын

Пікірлер: 34
@felipediazflores1151
@felipediazflores1151 2 жыл бұрын
Broo, what a good vid. I leaned a lot. Thanks bro!
@kolupsy
@kolupsy 2 жыл бұрын
graphics programming is really fun until you start to have to deal with transparency. Its awful. I was implementing a lens flare screen shader the other day and everything went really well, I was able to calculate the occlusion of lights based on the scene alpha and a distance buffer (so without raycasting). Worked beautifully. Then somebody pointed out 'but what about occlusion by transparent materials'..... *______*
@Struct.3
@Struct.3 Ай бұрын
You can fix the last problem without manual ordering. You can do a z test. its essentially a single ray to see which surface is closer. the ray will pass through all objects and create the proper ordering. Its slightly more costly, but cheaper than all the other methods here. it can cause some artifacting if you use 1 ray per object, but if you use 1 ray per vertex then it gets very accurate, and incredibly more expensive. So using a Mesh Shader that utilizes meshlets is my best solution. You can then cull everything that cant be seen, z test each meshlet thats left, And get perfect ordering. Or you could just straight raytrace all transparent objects. Which surprisingly isn't that expensive these days.
@aspecialkindofleaf
@aspecialkindofleaf 5 ай бұрын
thank you! I had a issue with a sheer material which would (went set to transparent) glitch out if the camera panned too far down and vanished. This solved the issue!
@theonecommenter
@theonecommenter 11 ай бұрын
im just trying to get a pair of glasses to be see through on quest
@bellaberry9551
@bellaberry9551 2 ай бұрын
poiyomi shaders are not available on quest i think
@JungleJordy
@JungleJordy 2 жыл бұрын
thanks for the video keep up the great work!!!!
@galloviking4766
@galloviking4766 10 ай бұрын
My biggest issue is that when I use TransClipping to give myself a stealth effect, it completely messes up with skyboxes.
@poiyomi
@poiyomi 10 ай бұрын
It needs to be higher queue than the Skybox
@galloviking4766
@galloviking4766 10 ай бұрын
@@poiyomiDunno how high skyboxes are, but setting it to 3000 (transparent) works just fine. Thanks!
@sheilakar2725
@sheilakar2725 Жыл бұрын
This video help me a lot. Thanks for share!
@howar31
@howar31 8 ай бұрын
Helps a lot for someone like me first using transparent :D
@TobiDerKrasse
@TobiDerKrasse 2 жыл бұрын
Is there a solution for having a part of a material/texture (for clothing) transparent while the rest is opaque? like for example i have a bikini top which is mostly opaque but i want it to have some cloth hanging down at the sides which are transparent. or do i have to seperate the transparent part of it and make it its owm Material/texture?
@fluffypissbaby
@fluffypissbaby Ай бұрын
did you ever figure this out :'o
@kerduslegend2644
@kerduslegend2644 Жыл бұрын
Hey man. I have a problem with a material doesn't want to cut out properly. For example you can see in your video, those crying emojis will make a perfect cycle. In my case it doesn't make a cycle and instead there's an ugly black box instead. Can you make a video about that?
@lucateil1
@lucateil1 5 ай бұрын
how would you fix a avatars clothes if they use .0.57 poi toon sharers disappearing if a game like murder 4 lights go out and the cloths disappear
@beaveresque9404
@beaveresque9404 2 жыл бұрын
I assume this is for basic transparency, like your general Transparent and Fade modes. Grab pass is a different animal, and the render queue doesn't do much with two objects that both use grab pass; you'll never be able to see one through the other. EDIT: Caveat being if you use poi 7 on one and poi 8 on another; those grab passes are visible through one another, with the sacrifice that one material won't have the latest options and optimizations.
@adicsbtw
@adicsbtw 2 жыл бұрын
How does this apply for transparency methods like cutout? Does cutout properly deal with Z-Write, or does it have the same issues as true transparency? I am using cutout with dithering to fake transparency on my avatar currently because I don't really need true transparency, and I was having ordering issues on the same mesh, and I found that cutout appears to work, but is that just my perception or does it actually work differently? Also, in general would it be better to swallow the price of adding more polygons to an avatar or enable transparency in rendering in terms of performance? I know that in Blender that is the case, but I am curious if it is the same for Unity or not
@poiyomi
@poiyomi 2 жыл бұрын
Cutout does indeed work differently. If it looks good to you it's probably fine.
@murdoc53
@murdoc53 2 жыл бұрын
where does this explain trying to avoid rendering the alpha clip of image textures? I have pics of chainlink fences and donuts with black areas where the HOLES are that I want to UNrender
@poiyomi
@poiyomi 2 жыл бұрын
Like I say in the video if you need more help feel free to join the discord and ask for as much help as you want
@Rin-qj7zt
@Rin-qj7zt Жыл бұрын
I tried this but when i add the elements in the materials section, they don't render in the correct location. i don't know how to tell unity to render the material found in the new elements i created at the same spot as their duplicates.
@poiyomi
@poiyomi Жыл бұрын
that was just an example of something that only had one material slot. the correct way to do that is either with a custom shader or add a second material there in blender
@serious5406
@serious5406 2 жыл бұрын
2:32 fix start
@gyrfalcon23
@gyrfalcon23 2 жыл бұрын
Thanks for the video! If people are setting their own render queues individually, do they get resolved in a special way in the game, or is my 3000 the same as another person's 3000?
@poiyomi
@poiyomi 2 жыл бұрын
Your 3000 is the same as another person's 3000. Unity will attempt to stack them correctly based on distance from the camera. Generally you want to avoid transparency because you can't predict what's out there
@gyrfalcon23
@gyrfalcon23 2 жыл бұрын
@@poiyomi thank you very much!
@userrelkjwrweefdggfdgsagsadgw
@userrelkjwrweefdggfdgsagsadgw 2 жыл бұрын
whats that texture 🤣🤣🤣🤣😭
@reinacornify
@reinacornify 2 жыл бұрын
i wanna know too how to do the texture
@753.network
@753.network 2 жыл бұрын
uohhhhhhhhh 😭😭😭 naughty transparency 😭transparency correction needed! 💢💢
@squashedkebab6927
@squashedkebab6927 2 жыл бұрын
transparent chan! 😭😭😭
@w4fer
@w4fer Жыл бұрын
ENOUGH
@pdbsstudios7137
@pdbsstudios7137 Жыл бұрын
this is way to long to say how
@poiyomi
@poiyomi Жыл бұрын
There's a lot to cover and it's only 5 minutes
The 5 Stages of Learning Blender
3:14
Artin Azarnejad
Рет қаралды 344 М.
Dealing With Avatar Lighting in VRChat
10:31
poiyomi
Рет қаралды 42 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
VRChat Avatar Tutorial - VRAM Optimization
3:49
Sipp's Avatar Box
Рет қаралды 59 М.
Unity materials part 5  alpha and double sided
11:20
Razi Ben-Ezzer
Рет қаралды 5 М.
VRChat - Avatar 3.0 State Behaviors Explained!
5:23
Sipp's Avatar Box
Рет қаралды 36 М.
I let my Chat Create a Character again
12:01
tinynocky
Рет қаралды 53 М.
Unity 6 Lightmapping Tutorial: Modular Room Workflow
19:59
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 1,5 МЛН
How I set up poiyomi materials Unity
17:17
Crabman823 Store
Рет қаралды 3,9 М.
VRChat Avatar Tutorial - Contact Toggles (Grabbing Objects off your Avatar)
5:43
Basics of Creating a VRChat World | No Blender
19:20
Rabbi32
Рет қаралды 31 М.
How to add VRChat Avatar Toggles with Modular Avatar. Simple Tutorial
15:08
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН