Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lighting works fine on -medium but comes out awful on the final pass....

#1
Just as the topic says, the lighting on one particular wall comes out like this when I run a final pass:
   

But it renders just fine when doing a test build (light -medium). It was even working before just fine so I'm honestly at a loss for what might have caused this / what I should try changing.

Any idea what might be up here?
Reply

#2
I have seen this a lot of times with patches and models: 100% black surfaces
and/or random black splotches.


I know some different ways to try to solve this problem:

 1- Compile the map using reflected (bounced) light.

 2- Use a different lightmap resolution for the problematic object:

    For a model: "_lightmapscale" "0.5" in entity properties.

    For a patch: exactly as above ("func_group" the patches to have own entity properties).

 3- Rotate the object a few degrees or move it a few game units.

 4- Try this shader directive for the texture:

    q3map_lightmapSampleOffset 8

    This directive is an offset for light sampling that can help a lot to fix
    black splotches in lightmaps.
Reply

#3
1: such sort of splotches definitely happens with load of relatively tiny portals on the way of light; solution is to use detail brushes
2: can't it be the effect of grates with alphashadow or lightfiler?
You also may try to remove switches from Final preset one by one to figure out which one is responsible for splotches
Reply

#4
(08-01-2018, 09:18 PM)Garux Wrote: 1: such sort of splotches definitely happens with load of relatively tiny portals on the way of light; solution is to use detail brushes
2: can't it be the effect of grates with alphashadow or lightfiler?
You also may try to remove switches from Final preset one by one to figure out which one is responsible for splotches

Looks like it's definitely the glass / mesh (removing them makes the problem go away), though switching alpha shadow off doesn't appear to help much.

I'm currently debating whether to figure this out further or take this as my cue to redo the area (I wasn't completely happy with it, so this may be an opportunity to replace the visuals with something else).
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] Bots spaz out at teleporter / warpzone on the ceiling Antares* 10 5,524 09-02-2017, 08:24 AM
Last Post: terencehill
  [PSA] Lighting is NOT spelled "lightNing" Mr. Bougo 14 12,480 12-28-2012, 02:30 AM
Last Post: aa
  about lighting hutty 9 8,813 04-23-2012, 07:20 AM
Last Post: Maddin
  How to make dynamic lighting Cuinnton 4 5,959 07-21-2010, 08:43 AM
Last Post: Cuinnton

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-