Fortress Forever

Go Back   Fortress Forever > Editing > Mapping

Reply
 
Thread Tools Display Modes
Old 09-27-2006, 04:09 AM   #1
o_a boojum snark
 
o_a boojum snark's Avatar
 
Join Date: Jan 2005
Location: Orion Arm
Posts Rated Helpful 0 Times
Lightmaps on displacements...

This is the most active forum I visit with a decent amount of mappers so I'm asking here... (other people seem to do so too, so whatever)

Some of my displacements are having their lightmap majorly distorted (32x32 lightmap looks like about 96x8 ), and I can't figure out how to fix it, nor what is causing certain ones to do it. The ones that are doing it are not all the same distortion amount either.
It's getting rather annoying and ends up making shadows on the surface look like crap.

Anyone have ideas on what to do?
o_a boojum snark is offline   Reply With Quote


Old 09-27-2006, 05:35 AM   #2
trepid_jesse
Fortress Forever Staff
 
trepid_jesse's Avatar
 
Join Date: Jan 2005
Location: Texas
Posts Rated Helpful 0 Times
We've found out that a lightmap scale of 4 is fuckin' magical for displacements, but you also need to break up displacements.

So, if you have some displacement with lighting problems, lower the lightmap scale and the clip the displacement in half.

Other times it helps to place low intensity light entities around the shit to smooth out the lighting across that displacement and other displacements/brushes.

But lots of times you have to add a lot of lights because it won't always smooth the lighting across adjacent displacements.

Fixing the lighting on displacements can be a big fuckin' dickhole to widen so you can have more kids, but lowering the lightmap scale, clipping them in half, and putting lights around the shitty ones can help.

The -maxdispsamplesize RAD flag shit doesn't help much, at least, not with some of the problems we ran into, but it might help with some other shit, shit?
__________________
Support FF:

Trepid, what?
trepid_jesse is offline   Reply With Quote


Old 09-27-2006, 06:48 PM   #3
o_a boojum snark
 
o_a boojum snark's Avatar
 
Join Date: Jan 2005
Location: Orion Arm
Posts Rated Helpful 0 Times
Ah thanks. Now I'll remember to keep my displacements fairly even in length:width.
o_a boojum snark is offline   Reply With Quote


Old 09-27-2006, 07:39 PM   #4
trepid_jesse
Fortress Forever Staff
 
trepid_jesse's Avatar
 
Join Date: Jan 2005
Location: Texas
Posts Rated Helpful 0 Times
I don't think that matters too much, though.

I mean it might, but we've used long/thin displacements that are lit fine.

So, shit like 256 long / 4 high, and it's still lit fine. So, I dunno how much of an impact the ratio of the dimensions has on the lighting.
__________________
Support FF:

Trepid, what?
trepid_jesse is offline   Reply With Quote


Old 09-28-2006, 12:29 AM   #5
o_fonfa
 
Join Date: Feb 2005
Posts Rated Helpful 0 Times
displacement lighting is fucked up
o_fonfa is offline   Reply With Quote


Old 09-29-2006, 12:38 AM   #6
o_imbrifer
 
o_imbrifer's Avatar
 
Join Date: May 2005
Location: Changes every few months
Posts Rated Helpful 0 Times
When having sex, always put your balls in, too.

I've never had displacement lighting problems, probably because I'm so badass.
o_imbrifer is offline   Reply With Quote


Old 09-30-2006, 05:37 AM   #7
o_mj
 
o_mj's Avatar
 
Join Date: Jan 2005
Location: California
Posts Rated Helpful 0 Times
you da man
o_mj is offline   Reply With Quote


Old 09-30-2006, 01:44 PM   #8
trepid_jon
Ray Ray Johnson
Fortress Forever Staff
 
trepid_jon's Avatar
 
Join Date: Feb 2005
Location: Dallas, TX
Class/Position: D Civilian
Gametype: Rocket Jousting
Affiliations: EAFD
Posts Rated Helpful 78 Times
Send a message via ICQ to trepid_jon Send a message via AIM to trepid_jon
It basically comes down to the size of the triangles on a displacement when you're trying to make its lightmap scale better/lower/right.

The distance between each vertex...if the gap is too big, sometimes the lightmap scale can't be as small as you want it to be.

And yeah, like Jesse said...4 is a magical lightmap scale for displacements. It's weird how 8, 16, and up aren't very different...and then 4 is pretty much perfect.

Anyways, if you ever want to make a displacement's lightmap scale lower but it won't get any lower (you set it to 4, reselect the face, and it's actually not 4), you might have to split the displacement up to make the triangles smaller so the lightmap scale can be lower.
__________________
Support FF:
Trepid
steamcommunity.com/id/trepid_jon/
trepid_jon is offline   Reply With Quote


Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:27 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.