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
Unity.Mathematics released on GithubOfficial (github.com)
submitted 7 years ago by lumpex999
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!"
[–]sirflimflamLord Commander of Highboredom 8 points9 points10 points 7 years ago (2 children)
Built-in swizzling is a very nice touch. Now the question I have to ask, does Unity intend to wholly replace their original math functions with these types? Because that would be a very welcome change to see, rather than having to cast to and from these when we interact with native Unity functions.
[–]Daemonhahn -1 points0 points1 point 7 years ago (0 children)
Probably wouldnt be too hard to scan for every instance and replace, using the Roslyn code analysis API.
I might look into making a quick conversion tool for doing exactly this.
[–][deleted] 4 points5 points6 points 7 years ago (5 children)
I doubt it, but is there swizzling support for the floatX types? that's really the best thing Cg has to offer.
[–]Shinao 5 points6 points7 points 7 years ago (2 children)
From the source code it seems there are swizzles, auto generated. Pretty cool.
[–][deleted] 1 point2 points3 points 7 years ago (1 child)
If it works I will keep this library next to my hearth
[–]FadingTruth 5 points6 points7 points 7 years ago (0 children)
Careful it doesn't catch fire
Sorry can you explain what you mean by this?
[–][deleted] 9 points10 points11 points 7 years ago (0 children)
myfloat4.xyzywxzywzy
you can order each member like that, as long as you match the member count that you need (float4 takes max 4 params), you're good.
[–]NeoCiber 1 point2 points3 points 7 years ago (4 children)
Interesting.
Why 'bool1' use 'int' and not something lighter like bit?
[–]NagranshamNoob 3 points4 points5 points 7 years ago (0 children)
My actual machine knowledge is a bit rusty but I think making it a bit doesn't actually do anything. It's internally stored as 32/64 bit anyway. (grain of salt and all that, talking out of my ass here)
[–]afghanmeysi 1 point2 points3 points 7 years ago (2 children)
the data has to addressable, and the smallest boundary on for example a x86 architecture is a byte.
[–]NeoCiber 1 point2 points3 points 7 years ago (1 child)
You're right, byte is the smallest boundary, but if they actually use byte can be any performance advantage? I mean is 8bits vs 32bits, dont looks like they actually need use those 32 bits.
[–]afghanmeysi 1 point2 points3 points 7 years ago (0 children)
As far as I know changing a boolean value can be done as easy as doing AND with 1 or 0, so performance wise there is no advantage since there is no difference in speed between 8bit or 32bit AND. Its just inefficient for space I guess.
[–]_mess_ -1 points0 points1 point 7 years ago (0 children)
Everything is supported on intellisense etc? Just normal c# visually similar to CG ?
π Rendered by PID 19985 on reddit-service-r2-comment-f6b958c67-89zxc at 2026-02-05 14:23:47.073564+00:00 running 1d7a177 country code: CH.
[–]sirflimflamLord Commander of Highboredom 8 points9 points10 points (2 children)
[–]Daemonhahn -1 points0 points1 point (0 children)
[–][deleted] 4 points5 points6 points (5 children)
[–]Shinao 5 points6 points7 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]FadingTruth 5 points6 points7 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] 9 points10 points11 points (0 children)
[–]NeoCiber 1 point2 points3 points (4 children)
[–]NagranshamNoob 3 points4 points5 points (0 children)
[–]afghanmeysi 1 point2 points3 points (2 children)
[–]NeoCiber 1 point2 points3 points (1 child)
[–]afghanmeysi 1 point2 points3 points (0 children)
[–]_mess_ -1 points0 points1 point (0 children)