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
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName