|
|
#1 |
|
Lively Member
Join Date: Mar 06
Posts: 108
![]() |
Hi,
I have created a lamp post which is supposed to light up at night. It is made up of a cylinder(the base) and a sphere. How do I create the effect of the lamp post lighting up at night? I placed a light source at the position of the sphere and adjusted the diffuse values. But the entire scene is lighted up instead. I also tried using emissive materials for the sphere but it did not have the "lighting up" effect. |
|
|
|
|
|
#2 |
|
Lively Member
Join Date: Jul 02
Posts: 86
![]() |
Re: How to make a lamp post light up properly?
As for the effect of the lamp lighting up at night, this might work. Create a loop and just increase the RGB of the light from 0.0f to something like 0.5f by 0.05f or another small value and set it to the lights RGB. This will make the light somewhat dim, just play around with the values. Try that with the diffuse property of the light.
The same thing can be done for the sphere surrounding the light. In the loop, change the actual colour of the sphere from black to almost white. Can you post some pictures of it so I can see it? Like before the light is on and when it is on? |
|
|
|
|
|
#3 |
|
Retired G&G Mod
Join Date: Oct 02
Location: @ Opera Software
Posts: 10,190
![]() ![]() ![]() ![]() ![]() |
Re: How to make a lamp post light up properly?
Are you using Dx or OGL or something? Use a directional light.
- ии - |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|