1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

VTF and light bounce

  • robert.briscoe
  • September 21, 2008 at 1:46 PM
  • ifO
    • October 5, 2008 at 11:36 PM
    • #21

    Done'd. PM'd

  • Ezekel
    • March 30, 2012 at 10:27 AM
    • #22

    I know I'm raising a necro'd post here, but did anything actually come of this?

    As far as I can tell Nem's tools don't mention this being added in the revision logs.

    The images posted look really impressive and I'm sure I'm not the only one who'd like to be able to make use of the resulting indoor ambience.

  • Minos
    • April 1, 2012 at 4:51 AM
    • #23
    Quote from Ezekel

    I know I'm raising a necro'd post here, but did anything actually come of this?As far as I can tell Nem's tools don't mention this being added in the revision logs.

    The images posted look really impressive and I'm sure I'm not the only one who'd like to be able to make use of the resulting indoor ambience.

    As Robert said, you need to tweak the RGB values on a per-material basis. I made some tests with this before and it proved to be unpractical. It's easy when you have only one texture (which has only one color really, such as the dev texture) but it's just a lot of work when you have more textures, all with different colors. Keep in mind that the RGB values bounced by the vrad tool are not the RGB values in each texel but an averaged value for the entire texture. So let's say you have a texture which is half green and half red, the color bounced by this texture map will be an averaged value from both colors, not green and red as one would expect. These RGB values are calculated when you generate the VTF and can be accessed by opening VTF files on VTF edit.

    This is the kind of stuff that should be done via an improved lightmap generator and not on a per material basis. I wonder why valve never updated vrad, it seems so trivial to be honest. I mean, 3rd party Quake 3 rad tools have supported ambient occlusion and shit like that for years now...

  • Jenn0_Bing
    • April 1, 2012 at 9:26 AM
    • #24

    Maybe this can help? http://www.nodraw.net/2011/02/reflectivity/

  • Minos
    • April 1, 2012 at 8:16 PM
    • #25
    Quote from Jenn0_Bing

    Maybe this can help? http://www.nodraw.net/2011/02/reflectivity/

    If you use values such as .5 .5 .5 etc that means your texture map is gonna bounce white color only.

  • Ezekel
    • April 4, 2012 at 10:24 AM
    • #26

    i guess it might be down to the fact that they've never needed it to do more than it does.

    most probably, originally the limitations we see today were there as a design decision based on considering the time that would be needed to compile an average map on hardware that was around in the hl2 days vs how much of a difference it'd make to the result.

    as far as i can recall of valve games (even the newer ones like the l4d series) there aren't really any cases where a scene demanded much from indirect ambient lighting. - so i guess it's just down to an "if it's not broke don't fix it" mindset together with the LD only focusing on scenes that won't suffer from the shortfalls of the system.

    i've found a bit of success though by mixing together the suggestion about the vmt reflectivity values together with the -extrasky compile option on vrad.

    Quote from Minos

    If you use values such as .5 .5 .5 etc that means your texture map is gonna bounce white color only.

    from what i've read, the reflectivity values are a multiplication of the base values of the vtf, so .5 .5 .5 for a surface that is pure red should bounce rays that are pure red at 50% intensity of incident

  • Minos
    • April 4, 2012 at 6:15 PM
    • #27
    Quote from Ezekel

    i guess it might be down to the fact that they've never needed it to do more than it does.most probably, originally the limitations we see today were there as a design decision based on considering the time that would be needed to compile an average map on hardware that was around in the hl2 days vs how much of a difference it'd make to the result.

    as far as i can recall of valve games (even the newer ones like the l4d series) there aren't really any cases where a scene demanded much from indirect ambient lighting. - so i guess it's just down to an "if it's not broke don't fix it" mindset together with the LD only focusing on scenes that won't suffer from the shortfalls of the system.

    i've found a bit of success though by mixing together the suggestion about the vmt reflectivity values together with the -extrasky compile option on vrad.

    If you use values such as .5 .5 .5 etc that means your texture map is gonna bounce white color only.

    from what i've read, the reflectivity values are a multiplication of the base values of the vtf, so .5 .5 .5 for a surface that is pure red should bounce rays that are pure red at 50% intensity of incident

    That's incorrect. The reflectivity value overrides the VTF values.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. BELEK: turning Rouen into competitive FPS maps (Godot project, feedback wanted)

    zlatan24
    November 12, 2026 at 6:23 PM
  2. CS2 sticker critique | Would the eye or blade read first on an AK?

    EmberKrakenCS2
    November 9, 2026 at 10:21 PM
  3. dod_poznan

    Smile_2000
    November 9, 2026 at 9:10 AM
  4. [cs2][WIP] De_digital (A side only) Looking for Feedback

    Howw3
    November 5, 2026 at 9:22 PM
  5. Hello from Normandy: Metin, working on a tactical FPS

    Thrik
    November 2, 2026 at 10:19 PM
  6. How do I setup CS1.6 mapping on linux?

    zlatan24
    November 2, 2026 at 6:43 AM
  7. CS:S | de_honor | Map creation process by D'artagnan

    Dartagnan
    November 1, 2026 at 5:41 PM
  8. Made a map maker for my indie game.

    daud2k7
    November 1, 2026 at 4:19 PM
  9. First CS2 Maps DM and Bomb Defusal

    zlatan24
    November 1, 2026 at 3:06 PM
  10. POLYSTRIKE - Finally Announced After Years of Development!

    MetinSaygin
    October 31, 2026 at 10:57 AM

Users Viewing This Thread

  • 1 Guest
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™