Dynamic Lightning

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Dodo

New Member
Oct 27, 2003
7
0
0
42
Germany
www.pltg-blacksun.de
I was trying to do some "Dynamic" Lightning with the triggerable Light, but this looks just awfull. It is possible to switch the Light on and off, but there are NO shadows and the light illuminates also areas which are behind a corner :eek: .
The idea I wanted to build was some kind of Day/Night change for a kind of RPG, so the question is: Is this possible with UE2? And where are the triggerable Lights with shadows ( I think in Unreal 1 it worked quite well).
Thanks for reply.
 

Dodo

New Member
Oct 27, 2003
7
0
0
42
Germany
www.pltg-blacksun.de
Well, I started searching the doc's and there i found:
"Dynamic lights will never create shadows"
to bad...
So I think, the Day/Light change will not work. If anyone got an idea how to implement this feature please post it here.
 

inio

many fauceted scarlet emerald
Feb 8, 2002
105
0
0
CA, USA
www.inio.org
Dodo said:
I was trying to do some "Dynamic" Lightning

It's LIGHTING. Hear that? light-ing. No extra n.

Lets get this straight. Lighting:
lighting.jpg


Lightning:
lightning.jpg


Any questions?
 

Dodo

New Member
Oct 27, 2003
7
0
0
42
Germany
www.pltg-blacksun.de
I tried to change the lightning in a class, which extends light, with this:

function postbeginplay(){
log(self.LightBrightness);
while( self.LightBrightness > 0){
self.LightBrightness -= 0.1;
}
log(self.LightBrightness);
}

and i assume that Light.bStatic is equal to Light.bStaticLighting.

But this wont work, the variable is changed accuratly (->Log) but this does not effect the light in game.
So, do I have to use other code or is this hole thing not possible?

btw.: How do you do that LightNing stuff??
 
Last edited: