HDR light_environment flickering

HDR light_environment flickering

Re: HDR light_environment flickering Posted by elegyoficaros on Sun Sep 24th 2006 at 4:18am
elegyoficaros
10 posts
Posted 2006-09-24 4:18am
10 posts 11 snarkmarks Registered: Sep 24th 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.
Re: HDR light_environment flickering Posted by reaper47 on Sun Sep 24th 2006 at 11:56am
reaper47
2827 posts
Posted 2006-09-24 11:56am
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
"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 :smile:
Re: HDR light_environment flickering Posted by elegyoficaros on Sun Sep 24th 2006 at 10:07pm
elegyoficaros
10 posts
Posted 2006-09-24 10:07pm
10 posts 11 snarkmarks Registered: Sep 24th 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.
Re: HDR light_environment flickering Posted by reaper47 on Mon Sep 25th 2006 at 10:48pm
reaper47
2827 posts
Posted 2006-09-25 10:48pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
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.
Re: HDR light_environment flickering Posted by Stadric on Tue Sep 26th 2006 at 12:10am
Stadric
848 posts
Posted 2006-09-26 12:10am
Stadric
member
848 posts 585 snarkmarks Registered: Jun 3rd 2005 Occupation: Slacker Location: Here
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
Re: HDR light_environment flickering Posted by elegyoficaros on Wed Sep 27th 2006 at 5:39am
elegyoficaros
10 posts
Posted 2006-09-27 5:39am
10 posts 11 snarkmarks Registered: Sep 24th 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.