|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Light texture » » » » Post: Re: Light texture |
Print at Dec 17, 2025, 5:02:52 AM |
| Posted by Keet at Nov 25, 2023, 8:57:31 PM |
|
Re: Light texture The only thing I can think of is using a semi-transparent texture with a (white?) light behind it. That should emit the color as in the texture although maybe a bit washed out. That is the trick I used for the digital clock I showed in this post: https://www.sweethome3d.com/support/forum/viewthread_thread,12755#60170 The segments of the numbers are not the lights but they are semi-transparent objects (d 0.8) with a light panel behind it. The same could be achieved with a texture that is a little transparent at the places where you want light to shine through with the color of the texture at those places. For example the traffic lights could be created like I did the led segments and a grid texture with transparent holes could be placed in front to show a pattern. Or the same texture but where the holes have the color you want but a little transparent to show the light. The main trick is to not make the texture itself the light source but to place a light behind a semi-transparent texture. The biggest advantage of this trick is that you only need one light source to allow multiple lights like for the traffic light. To switch one or more lights of you simply make a filler visible that replaces the transparent parts. They can have a color like the light is off or have less transparency so they seem more dimmed. (That was the main reason for doing it this way: the need for multiple light sources on a single object which is unfortunately not possible.) The most difficult thing will probably be creating the correct texture. ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 17, 2025, 5:02:52 AM |