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
- Adding Real World Location to Ice Fishing Prototype
- [web tool] Image Channel Inspector : AlphaScope
- Editor Tool: Smart Recompile (don’t recompile if edit comments)
- Editor Tool: Scene Size Analyzer
- LudumDare 60: Old Tech
- uBasic Scripting Language for Unity
- GreaseMonkey+Editor Plugin: 1-Click Copy script from ChatGPT (Web) to Unity Editor (as script)
- Editor Tool: Property Watcher
- .unityignore : Hide files from Project window
- PostBuild Script to Create Single exe Standalone File
- Game Loop Designer
- Favorites in PackageManager
Recent Comments
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by












