Improving things for a new project: Subtle fading function for small obstructing objects based on camera movement. Good for confined areas (hint hint) #screenshotsaturday #indiedev #unity3dpic.twitter.com/b1yJIPEUe0
-
-
Replying to @FlyingCarpetsG
How does it work? Raycasts checking for a tag and a special Shader?
1 reply 0 retweets 0 likes -
Replying to @xDavidLeon
No raycast needed, just trogonometry. With the position of the camera, character and object, calculate the cam-character-object angle and change the object's opacity accordingly. Also make sure this is done only if the character is in range of the object with a (yes) tag or layer
1 reply 0 retweets 0 likes -
Replying to @FlyingCarpetsG
Isn't it too costly if you've got too many objects in the scene? If u have 2000 meshes, it's 2000 distance checks?
1 reply 0 retweets 0 likes -
Replying to @xDavidLeon
Yes, that why I use a triggerzone that is child of the character and check if the object is inside. Only then I activate the fade functionality of the object.
1 reply 0 retweets 1 like -
-
-
Replying to @FlyingCarpetsG
I started working on a new project some time ago. Eager to start sharing stuff :) the cool thing about new projects is the prospect to improve and learn from past mistakes.
1 reply 0 retweets 0 likes
Yes, I know the feeling very well! Looking forward to see more of your stuff :)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.