Browsing articles tagged with " casting"
Aug
11
2012

Fake Dynamic Tree Shadows

Tree shadows are created for terrain trees in Startup(), with adjustable strength, shadow shape, shadow color etc. (unity indie) Ideas/Todo: – Animated shadow? (based on terrain wind settings or just random..?) – Different shadows for different trees (Get treesize, type..) – Angled shadows (currently its […]

Mar
27
2012

Shadow Casting + Convex Hull = More Fake Shadows

Combine Simple Shadow Casting & Monotone Chain Convex Hull and you have…more fake shadows for unity indie!!1 Works fine for a box..should try the teapot next. Details: – Calculate vectors from the light, through every vertex in target object,  lengthen the vector until reach ground […]

Jan
27
2012

Simple Shadow Casting Algorithm

Converted part of this code into Unity(js) : A Simple Algorithm For Casting Shadows Screenshot info: – Red lines = from camera to vertex – Green lines = from vertex to ground – Blue lines = shadow plane vertices (no plane on this version yet, […]

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.