Rotating an object around two axes
I'm sure that I'm not the only person who's had an issue trying to understand rotations in 3D space - I'm trying to figure out why an object won't rotate around two axes at the same time, and I'm going...
View ArticleShaderLab: Shader that renders against objects, but transparent against skybox
I've done a lot of reading, and I've written a few shaders, but I'm far from an expert. My MO is as follows: The shader below renders a plain colour object (using an alpha channel) against any object...
View ArticleMaking a moon glow / blur
Hi there, Looking for pointers on how to get my moon (which is a sphere placed very far away): ![alt text][1] To "glow", a bit like this: ![alt text][2] Not sure where to start... is this some kind of...
View ArticleCalculating Door Hinge Pivots
I'm trying to move an empty game object to a hinge position on a door, so I can use it as the pivot point to swing the door open. The door script I've written has a setting which allows the player to...
View ArticleProcedurally generated uGUI elements render under world space objects
Got to the point where I'm banging my head against a wall now, so here goes! I have a uGUI canvas prefab with a non-trivial hierarchy: ![alt text][1] HackingUI_DeviceCanvas is the object in question....
View Article