Mar
10
2012

Fake Illumination Based on Object Texture Color

Testing how it would look, if objects “illuminate” light around them (using colored lights), based on texture colors..

Version#1 (info)
– On startup, script goes thru target object vertices, triangles, normals, uv’s and creates colored lights
– Currently using point lights, should be better with spot / projector lights..
– Lights are not created for every face, just if normal angle is different from previous
– Could add max light limit per object, just add 6 lights (on each side of bounding box..) etc..

Webplayer:
http://unitycoder.com/upload/demos/FakeColorIllumination1/

Source download:
coming later..

image#2: Box texture


Leave a comment

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.