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. Creative Chat

need help with specular map

  • rockdude86
  • August 3, 2008 at 4:41 PM
  • rockdude86
    • August 3, 2008 at 4:41 PM
    • #1

    so im trying to add a specular map to a wall texture ive made and when running in ldr it looks ok but when i use hdr everything turns completely shiny and my texture becomes plastic!

    here are some screenshots:

    with hdr:

    [Blocked Image: http://img227.imageshack.us/img227/1061/specproblemhdrpj0.jpg]

    [Blocked Image: http://img227.imageshack.us/img227/1061/specproblemhdrpj0.8823fdb149.jpg]

    without hdr:

    [Blocked Image: http://img293.imageshack.us/img293/7127/specproblemldrmk3.jpg]

    [Blocked Image: http://img293.imageshack.us/img293/7127/specproblemldrmk3.546ecb6100.jpg]

    as you can see the ldr version's specularity is barely visible so why does it turn into plastic in hdr mode? some help would be greatly apreciated

  • hessi
    • August 3, 2008 at 4:44 PM
    • #2

    that's what HDR does. it overbrights regions that are light intense. atm you are looking in a dark region and every tiny lightspot will be very bright due to the simulation of a human eye. if you want to bypass this effect even while being in HDR mode, you can define a region in your VMT file to lower the envmap intensity when in DX9 HDR mode. i don't have the code right in front of me but there exist several files in source engine games that use these commands.

    i hope this helped

  • rockdude86
    • August 3, 2008 at 5:25 PM
    • #3

    dont really know what kind of method your refering to but im already using the commands to lower the contrast and saturation.

    here is my vmt file:

    "LightmappedGeneric"

    {

    "$basetexture" "set01/brick01"

    "$bumpmap" "set01/brick01_normal"

    "$envmaptint" "[ 0.3 0.3 0.3 ]"

    "$normalmapalphaenvmapmask" 1

    "$envmapcontrast" 0.2

    "$envmapsaturation" 0.2

    "$envmap" "env_cubemap"

    "$surfaceprop" "brick"

    "%keywords" "set01"

    }

    dont know if it could be of any help but im not really sure if the hdr effect is the problem.

  • hessi
    • August 3, 2008 at 6:29 PM
    • #4

    HDR is the problem. you have to insert a special { } tag (which i dont know right now since it is cryptic and long) to detect HDR mode in the VMT and use a stronger "$envmaptint" command

  • rockdude86
    • August 3, 2008 at 6:42 PM
    • #5

    thanks for the help ill try to find the tag. i can probably find it on the valve developer wiki and ill try using a stronger envmaptint.

  • DvS
    • August 3, 2008 at 7:34 PM
    • #6
    Code
    "LightmappedGeneric_DX9_hdr"
    
    
          {
    
    
          "$envmaptint" "[x x x]"
    
    
          }

    This goes inside the LightmappedGeneric bracket.

  • rockdude86
    • August 3, 2008 at 9:57 PM
    • #7

    hmm i cant get that to work all i get when i replace the LightmappedGeneric tag with LightmappedGeneric_DX9_hdr is wireframe

  • Sentura
    • August 3, 2008 at 10:16 PM
    • #8
    Quote from rockdude86

    hmm i cant get that to work all i get when i replace the LightmappedGeneric tag with LightmappedGeneric_DX9_hdr is wireframe

    you don't replace it, you put the dx9_hdr tag INSIDE it.

  • DvS
    • August 3, 2008 at 10:51 PM
    • #9
    Quote from DvS

    This goes inside the LightmappedGeneric bracket.

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. Mapcore Introductions Thread

    bergman
    November 16, 2026 at 12:21 PM
  2. BELEK: turning Rouen into competitive FPS maps (Godot project, feedback wanted)

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

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

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

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

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

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

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

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

    zlatan24
    November 1, 2026 at 3:06 PM

Users Viewing This Thread

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