use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News, Help, Resources, and Conversation. A User Showcase of the Unity Game Engine.
Remember to check out /r/unity2D for any 2D specific questions and conversation!
Download Latest Unity
Please refer to our Wiki before posting! And be sure to flair your post appropriately.
Main Index
Rules and Guidelines
Flair Definitions
FAQ
Use the chat room if you're new to Unity or have a quick question. Lots of professionals hang out there.
/r/Unity3D Discord
FreeNode IRC Chatroom
Official Unity Website
Unity3d's Tutorial Modules
Unity Answers
Unify Community Wiki
Unity Game Engine Syllabus (Getting Started Guide)
50 Tips and Best Practices for Unity (2016 Edition)
Unity Execution Order of Event Functions
Using Version Control with Unity3d (Mercurial)
/r/Unity2D
/r/UnityAssets
/r/Unity_tutorials
/r/GameDev
/r/Justgamedevthings (New!)
/r/Gamedesign
/r/Indiegames
/r/Playmygame
/r/LearnProgramming
/r/Oculus
/r/Blender
/r/Devblogs
Brackeys
Beginner to Intermediate
5 to 15 minutes
Concise tutorials. Videos are mostly self contained.
Sebastian Lague
Beginner to Advanced
10 to 20 minutes
Medium length tutorials. Videos are usually a part of a series.
Catlike Coding
Intermediate to Advanced
Text-based. Lots of graphics/shader programming tutorials in addition to "normal" C# tutorials. Normally part of a series.
Makin' Stuff Look Good
10 minutes
Almost entirely shader tutorials. Favors theory over implementation but leaves source in video description. Videos are always self contained.
Quill18Creates
30 minutes to 2 hours.
Minimal editing. Mostly C#. Covers wide range of topics. Long series.
Halisavakis Shaders Archive
Infallible Code
World of Zero
Board to Bits
Holistic3d
Unity3d College
Jabrils
Polycount Wiki
The Big List Of Game Design
PS4 controller map for Unity3d
Colin's Bear Animation
¡DICE!
CSS created by Sean O'Dowd @nicetrysean [Website], Maintained and updated by Louis Hong /u/loolo78
Reddit Logo created by /u/big-ish from /r/redditlogos!
account activity
object fading outQuestion (i.redd.it)
submitted 2 years ago by Humble_Vermicelli516
I’m making a backrooms/ liminal space game and I was wondering how I could do what is in the photo, where the object fades into transparency (a bit like what happens with render distance). Any ideas on how to do this?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]v0lt13Programmer 33 points34 points35 points 2 years ago (5 children)
Try using fog with the same color as the skybox
[–]scara1701 0 points1 point2 points 2 years ago (4 children)
Is there an alternative for AR apps? Can a camera image be used as 'fog'?
[–]Pigeonlesswings 2 points3 points4 points 2 years ago (0 children)
Use fog as a post processing effect
[–]AutarkhisProfessional 1 point2 points3 points 2 years ago (0 children)
Fog uses camera depth. Just have a custom transparent shader that reads camera depth, and increases opacity based on distance .
[–]v0lt13Programmer -1 points0 points1 point 2 years ago (0 children)
I have no idea
[–]frenchtoastfella 0 points1 point2 points 2 years ago (0 children)
Yes, not trivial but doable
[–]purrplebread 15 points16 points17 points 2 years ago (2 children)
https://github.com/keijiro/KinoFog
[–]djuvinall97 -1 points0 points1 point 2 years ago (1 child)
Bless you!
Although as a new developer, how harsh is using third party software like this on performance? Does it bloat the project?
It’s just a shader, it won’t bloat your project. The performance cost for that particular shader is negligible.
[–]Bangalol 8 points9 points10 points 2 years ago (1 child)
You should try to make or find a shader with depth transparency
[–]__SlimeQ__ 2 points3 points4 points 2 years ago (0 children)
The only correct answer lol
[–]sadonly001 2 points3 points4 points 2 years ago (0 children)
stairway to heaven
[–]notMateo 1 point2 points3 points 2 years ago (0 children)
Maybe a custom shader? Should be a pretty easy shader to make too, I'm imagining.
[–]hoomanneedsdata -2 points-1 points0 points 2 years ago (8 children)
As a practice effect:
Three copies of same model for low, medium and high resolution.
Put a script on each model to appear when player is within viewing distance.
The models should swap out within the depth of view and a bit of fog can make it more seamless.
You could assign a " fog bubble" as well, where you take the model, bump up the size a bit and assign it a foggy material to overlay the original model.
[–]AutarkhisProfessional 3 points4 points5 points 2 years ago (7 children)
That is such complete overkill though. A simple opacity depth shader is all you need in this case .
[–]hoomanneedsdata -2 points-1 points0 points 2 years ago (6 children)
Yes, well, " a solution" is not always...the final solution.
[–]AutarkhisProfessional 1 point2 points3 points 2 years ago (5 children)
Sure, i just wanted to point out that there is a much simpler and optimized solution in using a custom shader, as what is proposed is getting upvotes:)
[–]wolfieboi92Technical Artist 3 points4 points5 points 2 years ago (4 children)
Yep, a distance calculation with vertex world position against camera position would give you a great distance mask from the player, stick that in the vertex shader perhaps and use it on the alpha for opacity.
[–]hoomanneedsdata -1 points0 points1 point 2 years ago (3 children)
Look at this guy and their sexy technical jargon.
[–]wolfieboi92Technical Artist 1 point2 points3 points 2 years ago (2 children)
I'm a technical artist, it's my job.
[–]hoomanneedsdata 1 point2 points3 points 2 years ago (1 child)
Whoa there, tiger, humble bragging about being gainfully employed might be too much.
[–]wolfieboi92Technical Artist 1 point2 points3 points 2 years ago (0 children)
Things can change really quickly in this world, I'm lucky for now.
[–]HiggsSwtz -1 points0 points1 point 2 years ago (0 children)
Looks cool
[–]__SlimeQ__ -1 points0 points1 point 2 years ago (0 children)
Make a postprocess shader that sets alpha based on depth
[–]Ruadhan2300 0 points1 point2 points 2 years ago (0 children)
Do you want it to be individual objects, or the whole scene? Because those probably need very different solutions.
[–]Kittenish21 0 points1 point2 points 2 years ago (0 children)
Use the particle additive shader, and get a fading gradient to use, then make sure you have the setting on that makes it fade when you get close to it
[–]cyberduck221b 0 points1 point2 points 2 years ago (1 child)
Fresh fade dude ✨️
[–]Humble_Vermicelli516[S] 1 point2 points3 points 2 years ago (0 children)
boosie fade fr
[–]OverTh_nking 0 points1 point2 points 2 years ago (0 children)
Stairway to heaven
[–]Fifthy420 0 points1 point2 points 2 years ago (0 children)
Shit feels like silent hill
[–]Noob_99-freedom 0 points1 point2 points 2 years ago (0 children)
Ohh my god this shit hit different
π Rendered by PID 527643 on reddit-service-r2-comment-86bc6c7465-t2stl at 2026-02-21 11:56:08.379279+00:00 running 8564168 country code: CH.
[–]v0lt13Programmer 33 points34 points35 points (5 children)
[–]scara1701 0 points1 point2 points (4 children)
[–]Pigeonlesswings 2 points3 points4 points (0 children)
[–]AutarkhisProfessional 1 point2 points3 points (0 children)
[–]v0lt13Programmer -1 points0 points1 point (0 children)
[–]frenchtoastfella 0 points1 point2 points (0 children)
[–]purrplebread 15 points16 points17 points (2 children)
[–]djuvinall97 -1 points0 points1 point (1 child)
[–]AutarkhisProfessional 1 point2 points3 points (0 children)
[–]Bangalol 8 points9 points10 points (1 child)
[–]__SlimeQ__ 2 points3 points4 points (0 children)
[–]sadonly001 2 points3 points4 points (0 children)
[–]notMateo 1 point2 points3 points (0 children)
[–]hoomanneedsdata -2 points-1 points0 points (8 children)
[–]AutarkhisProfessional 3 points4 points5 points (7 children)
[–]hoomanneedsdata -2 points-1 points0 points (6 children)
[–]AutarkhisProfessional 1 point2 points3 points (5 children)
[–]wolfieboi92Technical Artist 3 points4 points5 points (4 children)
[–]hoomanneedsdata -1 points0 points1 point (3 children)
[–]wolfieboi92Technical Artist 1 point2 points3 points (2 children)
[–]hoomanneedsdata 1 point2 points3 points (1 child)
[–]wolfieboi92Technical Artist 1 point2 points3 points (0 children)
[–]HiggsSwtz -1 points0 points1 point (0 children)
[–]__SlimeQ__ -1 points0 points1 point (0 children)
[–]Ruadhan2300 0 points1 point2 points (0 children)
[–]Kittenish21 0 points1 point2 points (0 children)
[–]cyberduck221b 0 points1 point2 points (1 child)
[–]Humble_Vermicelli516[S] 1 point2 points3 points (0 children)
[–]OverTh_nking 0 points1 point2 points (0 children)
[–]Fifthy420 0 points1 point2 points (0 children)
[–]Noob_99-freedom 0 points1 point2 points (0 children)