Author Topic: Light Shader Problem  (Read 4356 times)

Evoc

  • Posts: 127
  • Turrets: +13/-12
Light Shader Problem
« on: August 06, 2008, 07:19:34 pm »
Hey, Evoc again.

For my map, I am borrowing the primary light shader used in Tremor (the one used on all of the walls, in all the light fixtures, etc - take a look around Tremor and you'll see what I mean).

Except, the thing is, when I import the shader into my map, and use it (it's part of the Titan texture set), it doesn't appear as bright as it does in Tremor.

It does emit light, and I know I am using the shader for sure (white line around it in texture browser), but if I compare both maps side by side, for some reason it looks brighter in Tremor, and I confirmed this by adding Tremor's "light flicker" shader, and that emitted the same amount of light as it did in Tremor, yet the non-flickering normal one does not emit as much light as it does in Tremor.

Why does this happen, and how can I fix this?
Quote from: ...lying to people about being banned...
Evoc: I JUST GOT BANNED FROM THE FORUMS
Amanieu: lolwut
Thorn: nice
your_face: rofl
Thorn: the less places you can say anything the better

Lava Croft

  • Guest
Re: Light Shader Problem
« Reply #1 on: August 06, 2008, 07:23:58 pm »
Copy the light shader to your own mymap.shader and make it brighter.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Light Shader Problem
« Reply #2 on: August 06, 2008, 07:50:32 pm »
Or use -scale for q3map2. This is what was probably used for tremor.

Lava Croft

  • Guest
Re: Light Shader Problem
« Reply #3 on: August 06, 2008, 08:07:36 pm »
-scale is a decrepid solution for a problem that should be solved in the map itself, not via a compile switch.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Light Shader Problem
« Reply #4 on: August 07, 2008, 12:02:49 am »
-scale is the same as making your lights brighter manually, since that's what it does for you.

Lava Croft

  • Guest
Re: Light Shader Problem
« Reply #5 on: August 07, 2008, 12:27:58 am »
-scale is the same as making your lights brighter manually, since that's what it does for you.
Exactly.

TRaK

  • Posts: 442
  • Turrets: +94/-21
    • TRaK@MG
Re: Light Shader Problem
« Reply #6 on: August 07, 2008, 12:54:55 am »
If I remember correctly, if you look at tremor.map there are point lights placed under each fixture. However, the easier way would be to copy over the shader and edit the surfacelight value.

Odin

  • Spam Killer
  • *
  • Posts: 1767
  • Turrets: +113/-204
    • My Website
Re: Light Shader Problem
« Reply #7 on: August 07, 2008, 06:03:52 am »
-scale is the same as making your lights brighter manually, since that's what it does for you.
Exactly.
Except you don't have to edit each and every shader light you have or modify each and every point light.

Lava Croft

  • Guest
Re: Light Shader Problem
« Reply #8 on: August 07, 2008, 08:50:47 am »
-scale is the same as making your lights brighter manually, since that's what it does for you.
Exactly.
Except you don't have to edit each and every shader light you have or modify each and every point light.
If you need -scale it means the lighting on your map is broken. It means you have to fix the lighting on your map, by editing the lighting in your map by hand. Using switches like -scale or -gamma is just a very crude solution that really should be avoided.