HDR light_environment flickering
Post Reply
Quote
Re: HDR light_environment flickering
Posted by elegyoficaros on Sun Sep 24th at 4:18am 2006


Hey, first of all this site is really great. Thanks for all of the awesome tutorials.


On to my problem:

I have a CS:S map with multiple outdoor and indoor spaces. My problem is that in the outdoor spaces, when HDR is turned on (Boom and normal lighting work fine), the sunlight will jarringly flicker from bright to dark when moving around in the open over certain points in the geometry.

There isn't a 3d skybox. The skybox is set to militia_hdr
The light_environment is set to:

y/z/x 19 88 0
pitch -40
brightness 235 222 177 600
ambient 75 92 118 400
brightnesshdr -1 -1 -1 1
ambienthdr -1 -1 -1 1

Several compiles ago it worked fine, but I remember changing the pitch and y/z/x values. I think that may have been the problem, but i've had no luck getting it to work again.

Thanks a lot for your help. Tell me if there is any more info I should be giving.




Quote
Re: HDR light_environment flickering
Posted by reaper47 on Sun Sep 24th at 11:56am 2006


"certain points"

A screenshot of the point could help!


y/z/x 19 88 0
pitch -40


I cannot find anything terribly wrong with your settings but I always understood "pitch" do be just one of the y/z/x (pitch, yaw, roll) values. Therefore one of the y/z/x values should be identical with the pitch (probably y?).

This is a theory of mine and I never had to test it (also never had the flickering) so... just a suggestion <img src=" SRC="images/smiles/icon_smile.gif">




Quote
Re: HDR light_environment flickering
Posted by elegyoficaros on Sun Sep 24th at 10:07pm 2006


I've been tinkering around with the settings of the light_environment, but nothing seems to fix the problem. I even set it to the default settings listed in the hammer wiki's sky list. Could my problem be *where* i've placed the light_environment in my map? Does that matter at all? I have it near the "roof" of one of my skyboxes inside my level. One of my skybox brushes is slanted, could that be the problem?

I'll try to post some screenshots of the problem at some point, though i'm not sure how helpful they would be.




Quote
Re: HDR light_environment flickering
Posted by reaper47 on Mon Sep 25th at 10:48pm 2006


It shouldn't matter if it's near the roof or at the bottom. As long as it's inside your level.

Did you mean in a skybox (with a sky_camera)? The light_environment should simply be in your general map/play area.

You say it's only in the outside... Maybe it's not the light_environment but a displacement, a wrong texture ect.

Screenshots could help here, definitly.




Quote
Re: HDR light_environment flickering
Posted by Stadric on Tue Sep 26th at 12:10am 2006


Are any of the flickering textures model textures? Textures beginning with model/ don't light correctly.


Also change the texture of the dock. Docks are rarely tile. -Facepunch
As I Lay Dying



Quote
Re: HDR light_environment flickering
Posted by elegyoficaros on Wed Sep 27th at 5:39am 2006


Thanks for your help guys. Eight compiles later the light is working normally again. I'm not quite sure what the solution was though.




Post Reply