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

Related Posts
Leave a comment
Recent posts
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
- LudumDare59 : Signal
- Unity Editor: Tree Generator
- Leaf/Foliage Generator Tools (Runs in Browser)
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












