Moving Sun... Moving Shadows?
by Craig Fortune · in Torque Game Engine · 02/27/2004 (10:57 am) · 21 replies
I thought this will probably be the best place to start a thread like this, but possibly might move it into the private area of the forums (SDK owners) if we need to start about the inner workings etc.
First off i'm not a programmer, so chat about the principals, not the code to me ;) (Although programmer on team will probably be on this thread soon enough)
Problem is thus:
I'm involved in an MMORPG using torque thats going really well. We have a skills system and a persistant world starting to form, we are starting to work on quests etc. Anywho, onto the main body of this post.
We have hit a rather annoying stumbling block as the title implies. We want to have day/night cycles, which requires a moving sun. Now changing the brightness is not a problem, HOWEVER, changing where the shadows are is a problem. We cant see a way to do this, as its ovbiously completely impossible to re-calc the lightmap every frame =D
Has anyone got any ideas? We have been thinking of vertex shaders, but then this even stops some of the team working on the game let alone the possible players...
I know this is kind of trying to force a debate from the community to suit our own needs, but well, I'm almost certain theres other people out there having this problem. Thus, they will hopefully benefit from it!
First off i'm not a programmer, so chat about the principals, not the code to me ;) (Although programmer on team will probably be on this thread soon enough)
Problem is thus:
I'm involved in an MMORPG using torque thats going really well. We have a skills system and a persistant world starting to form, we are starting to work on quests etc. Anywho, onto the main body of this post.
We have hit a rather annoying stumbling block as the title implies. We want to have day/night cycles, which requires a moving sun. Now changing the brightness is not a problem, HOWEVER, changing where the shadows are is a problem. We cant see a way to do this, as its ovbiously completely impossible to re-calc the lightmap every frame =D
Has anyone got any ideas? We have been thinking of vertex shaders, but then this even stops some of the team working on the game let alone the possible players...
I know this is kind of trying to force a debate from the community to suit our own needs, but well, I'm almost certain theres other people out there having this problem. Thus, they will hopefully benefit from it!
Torque 3D Owner dsfsd