Game Development Community

weather change/screen flash

by Shane Lunsford · in Torque 3D Professional · 02/27/2012 (5:39 pm) · 6 replies

Hello, today I have been trying to get #1 a screen flash when lighting strikes #2 weather to change with day and night cycle. I seached and couldn't find anything posted and there wasn't any leads in the documentation. Has any one done this and can some one head me in the right direction or is it going to be a scripting type issue. Thank you all for your help.

#1
02/28/2012 (9:30 am)
Screen flash, look up WhiteOut or SetWhiteOut in the Torque Script Manual CHM file (in the documentation folder).
#2
02/28/2012 (9:45 am)
I think he refers to something more like this:


Is a hardware shader in this case.
#3
02/28/2012 (8:24 pm)
@ Steve I will take a look at that does it effect lighting in the scene appriciate the feed back, Thank you
@ Alfio This is what i'm looking for I what the flash to light the scene so that things lurking in the dark are shown in the few secondes and for this to work i need to look into hardware shaders....is there info on this in the documents or where would I shearch info on it? Thank you
#4
02/29/2012 (8:06 am)
You could (through script) instantiate a large radius light centered on the origin of the lightning when needed, "pulse" the brightness, and then remove the light.

The use of whiteOut would only affect the client's overall view of the playGUI with no direct effect on scene lighting.
#5
02/29/2012 (8:03 pm)
@ Steve when i try to open the scrit manual I get a can't connect to website error do you know what I can do to fix or any ideals. Guess I need to work on my eyes open skill and read how to open it in windows.........feeling really smart right now. :-O
#6
02/29/2012 (10:34 pm)
right-click the .chm file and choose "unblock", little safety feature Windows never tells people about.