• Register
Report RSS Lightmap scale / dynamic lighting correlation (view original)
Lightmap scale / dynamic lighting correlation
embed
share
view previous next
Share Image
Share on Facebook Post Email a friend
Embed Image
Post comment Comments
mediochrea
mediochrea - - 95 comments

Huh, interesting. Thanks for comparison!

Reply Good karma Bad karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

Experienced modders might already know it, but for those who don't this image shows a correlation between a surface's lightmap scale (set in Hammer and used for vrad calculations) and a shape, brightness and overall quality of a spot of dynamic light cast onto the said surface. As you can see, the effect gets most bright on the 8x scale (although it's the matter of item's position, there's no really significant difference between 4x and 8x), it gets a bit diffused on 16x (a default value for most surfaces in HL2/Episodes and in Hammer), and on 32x it is just a big dim square not practically aesthetic. If the light spot will be bigger, it would turn into a very rough circle with jagged edges.

So if you add the dyn. lighting effect on your map or implement it in your code, like muzzleflashes or burning NPC light effect, be sure to set the lightmap accordingly.