Unity Grayscale Shader for Sprite Overlays & More!
This Unity grayscale shader allows everything behind an object mask be rendered in grayscale. Set the material of a Unity Canvas Image / Raw Image or NGUI UITexture to this …
Read MoreEasy to follow Unity Tips, Tricks and Workarounds!
Unity how to guides. Learn the basics of Unity development or explore more advanced Unity techniques!
Our Unity how to guides are written to be easy to follow for beginners whilst still explaining techniques. Learn how to optimize your Unity android and ios mobile games or make unity development easier with easy to follow guides!
This Unity grayscale shader allows everything behind an object mask be rendered in grayscale. Set the material of a Unity Canvas Image / Raw Image or NGUI UITexture to this …
Read MoreBlurry textures when viewing objects at a distance are caused by mipmaps. However without mipmaps objects may appear visually worse as well as being worse for rendering performance. This guide …
Read MoreLocking the Cursor Disables Button & Mouse Events Unity GUI buttons and mouse events such as OnMouseOver or OnPointerDown have their events disabled when the cursor is set to a …
Read MoreThis quick guide shows how to fix objects in Unity stretching when being rotated. The issue can result in colliders not matching rotated objects or the objects appearing distorted when …
Read MoreWhat is RenderWithShader used for? Camera.RenderWithShader is a function which allows you to override the rendering of certain objects on a certain camera with a different shader. The main benefit …
Read MoreWhat causes the ‘Look rotation viewing vector is zero’ error? Look rotation viewing vector is zero is an error in unity caused by trying to give Quaternion.LookRotation(..) a vector3 value …
Read MoreThis guide explains what to do when unity refuses to play animations and gives the error “The animation state could not be played because it couldn’t be found!“. There’s a …
Read More[Physics.PhysX] ConvexHullBuilder: convex hull has more than 255 polygons! – What is this error? Unity logs the convex hull has more than 255 polygons error when trying to generate a …
Read MoreMesh.Bake.PhysX.CollisionData Profiler Spike Causes Unity profiler spikes from Mesh.Bake.PhysX.CollisionData means the mesh for a collision is being baked at runtime! Instead collisions data should be baked in the editor when …
Read More