Sun lighting problem Created 8 years ago2016-05-23 23:04:46 UTC by Kaner Kaner

Created 8 years ago2016-05-23 23:04:46 UTC by Kaner Kaner

Posted 8 years ago2016-05-23 23:21:14 UTC Post #330207
Hello guys!

I have some problems with the illumination of my map.

First I have an non corresponding brightness of the model/player compared with its light around even in some places it showes almost black. Why could it happen?
User posted image
And second, I have an unreal transition of the sun light to the shadows in outside areas. It seems a halo rather than a natural fade. What is going on?
User posted image
Btw, I compile with:
hlrad.exe -ambient .01 .01 .01 -texdata 524288 -lightdata 524288 -extra -bounce 8 -estimate -verbose -texlightgap 12 map.map

Thank you for your answers! :)
Posted 8 years ago2016-05-24 00:21:36 UTC Post #330208
1) I don't know. Post full compile log.

2) Check properties in "light_environment".
Posted 8 years ago2016-05-24 10:37:29 UTC Post #330214
Light_environment
Name:
Target:
Brightness: 170 130 238 70
Appearance: Normal
Custom Appearance:
Fade ZHTL Only: 1.0
Falloff ZHTL Only: Default
Pitch Yaw Roll: 0 45 0
Pitch: -60
Shade: 223 208 249 500

Compile Log
http://pastebin.com/UUji0DPx
Posted 8 years ago2016-05-24 13:19:49 UTC Post #330216
1st screenshot, you're sitting on a func_wall. Iirc, player model lighting is sometimes glitchy when standing above them. Try using a func_detail instead.
2nd screenshot, looks like the color you've chosen for light_environment shade.
Posted 8 years ago2016-05-24 15:22:55 UTC Post #330217
i think some early version of vluzacns tools had this bug
Posted 8 years ago2016-05-24 19:50:35 UTC Post #330222
I almost solved the halo in the shadows setting the same color in Brightness and Shade properties.
User posted image
Posted 8 years ago2016-05-25 00:34:47 UTC Post #330224
I got my conclusions:

If I set the original shade value: 255 255 128 I don't get the "halo" in the end of the shadows, but the model lighting transition is not natural:
User posted image
So finally I set the same shade and brightness color value to avoid the fake transition color to light sun from the shadows and I decrease the intensity of the sun to reduce the halo:
User posted image
I hope it can help someone else who has the same problem :)
Posted 8 years ago2016-05-25 07:51:54 UTC Post #330225
thats not a solution. what compile tools are you using?
Posted 8 years ago2016-05-25 10:22:18 UTC Post #330226
Vluzacn's ZHLT v34
You must be logged in to post a response.