Make 'Fake' Transparency Using Dithering | Unity Shader Graph

preview_player
Показать описание
--------------
💻 Get the source on GitHub:
✨ Get the Robot Sphere on the Asset Store:
--------------
------------

#unity #dithering #shader-graph
Рекомендации по теме
Комментарии
Автор

Tips for confused or lazy developers:
- 0:40 If you can't find the PBR Map, use the Lit Shader Graph option (Create > Shader > Universal Render Pipeline > Lit Shader Graph)
- 2:39 You can do this just by pressing space in the newer versions of URP
- "Albedo" is now "Base color"
- 3:46 If you can't find an "Alpha" Option, In your graph settings (Usually Top right corner of shader editor window) change your "Universal > Surface" from "Opaque" to "Transparent"
- 4:18 If you can't find an "Alpha clip" option you have to do the previous step but instead enable the checkbox next to "Alpha clip" (Under blend dropdown)

omgtntlol
Автор

This shader was a life saver. Needed to fade some complex meshes in and out in URP and setting the standard lit shader to transparent caused truly horrific zwrite problems. You are a gent and scholar, much appreciated!

SaturnsEscape
Автор

once again, this looks like just what I needed! thanks for the awesome work as always

_knightgames
Автор

This was really well explained and structured - much better than other 'tutorials' I've seen on the same subject, thankyou!

davidwollen
Автор

Interesting use of dither, it is essentially a dynamic texture affecting the alpha clipping level of each pixel. You can also bypass dither and make a custom script to dynamically write to a texture and avoid the dither stylization I discovered today and benefit from the alpha clipping approach in other creative ways.

madbeatstu
Автор

Thanks a lot, the full graph at the website was very helpful.

michaelkjellander
Автор

Great easy to follow video mate, good work.

simoncodrington
Автор

Very nice tut, I hope you have success in your life, currently using this for a project to the company I work. Thanks

Lukeibol
Автор

I'm not a master at this by any means. but If you find the result just being the object disappearing, I found connecting the R(1) to the multiply going to the alpha to work. 3:35

TSMSnation
Автор

just a quick question though, How costly is this on CPU/GPU. is this good in performance? Great video btw

HaniSharif
Автор

Fantastic tutorial! I'm so glad I found your content! QQ: at 5:16 do you see how the shadow gets changed with the dithering effect? Is there any way to disable that so the shadow looks 'normal' (as it was before the effect was applied)?

JackLaPlante
Автор

Thanks for the explanation, I am currently trying to get objects to fade out, and cannot manipulate the exposed Albedo from script. Let me now try it this way with dithering.

ignatiusreilly
Автор

Recreated this and it works really well, with one problem - the shadows dither too. Any ideas on how to fix that?

davidwollen
Автор

dani just said to check out ur channel brace for veiws

o-manthehuman
Автор

Can I do this while surface type is set to opaque? I don't want to set it to transparent

RockOn-
Автор

Very nice tutorial. Can we make fake transparent shader without dithering. is that possible? I try many thing but its not work. with transpernt mode its give many art fact so With opaque shader fake transparency possible?

balasubramanimudaliar
Автор

Great vid! Do you have a sense of how you'd dither an object that's occluding the player from the camera?

iDerp
Автор

Hey, awesome tutorial! In Unity Editor it's working just fine. But exporting it to iOS causes the dithering transparency to flicker. Not the whole transparent gameobject, but the pattern of the dithering changes randomly at some random places. Any idea why that is? Thanks!

Note: I Just tried to build your example project on iOS: Same Thing ... -.-

Eric-pirn
Автор

Hi, I am trying to edit the your shader by removing the Dither filter but I don't get the same effect that fades the transparency, can you support me or guide me what to do?

NocSchecter
Автор

This is great, but it *really* doesn't work in VR, as the Dither node is screen-based, causing the dither pattern to move with the player's head movement. any way of getting a world based dither system?

NemesisTWarlock
visit shbcf.ru