Browsing articles tagged with " range"
Sep
7
2013

Gradient Bar Range (shader)

Tried to make something like this: http://forum.unity3d.com/threads/199297-Can-t-figure-this-gradient-material-thing-out Its just a shader, which takes top bar and bottom bar world positions and then builds gradient between them.. AssetStore: http://u3d.as/content/mgear/vertical-gradient-range-shader/5q3 Webplayer: http://unitycoder.com/upload/demos/GradientBarRange1/ — Feature requests: – Sprites shader version – Sample code to change the two colors […]

Dec
9
2012

Enemy Visibility Cone (idea)

Testing one visibility cone idea for enemies. (later will check what other solutions there are..) Code: If enemy stays inside blue trigger area (attached to player) then If enemy view angle is towards the player (within view angle range) then Do Linecast(s) to player bounding […]

Feb
15
2012

Raycast Visibility 2.2

This is just a updated version of the: fake realtime raycast shadows (its not really shadows though..) Features in v2.0 Mesh is pre-build In update loop we just modify the existing vertices (no need to triangulate, create uv’s, etc in every frame) 50000 raycasts starts […]

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.