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

Good mirrors in CS GO

  • darkk_eden
  • May 2, 2015 at 4:50 AM
  • darkk_eden
    • May 2, 2015 at 4:50 AM
    • #1

    hi,


    i have designed a few maps for cs go, but i cant get my mirrors to work properly.


    i tried making mirrors in a few different ways. the best way i have come across sofar is this "vmt only texture"


    "lightmappedreflective"{ "$basetexture" "cs_opera/miroir" "$translucent" 1 "$refracttexture" "_rt_WaterRefraction" "$refractamount" "-0.1" "$refracttint" "[1 1 1]" "$reflecttexture" "_rt_WaterReflection" "$reflectamount" "0.1" "$reflecttint" "[1 1 1]" "$fresnelpower" "1" "$minreflectivity" "1.0" "$maxreflectivity" "1.0" "$normalmap" "cs_opera/miroir_normal" "$surfaceprop" "glass" "$bumpframe" "0" } it a mirror and it reflects quite well, but in some cases it turns the mirror into an xray machine, that lets you peek through walls, and that is really not what i was going for.does anyone know how i can fix this problem?

  • Smileytopin
    • May 2, 2015 at 1:01 PM
    • #2

    It may be because it has translucent 1, try making translucent 0 and adding a brush behind it.

  • TheGuma
    • May 2, 2015 at 1:43 PM
    • #3

    Smiley is right, it's Transcluent 1.

    Also try experimenting with Nocull 1 / 0

  • borgking
    • May 2, 2015 at 2:17 PM
    • #4

    Besides already said solutions, this sounds like the multiple-water problem:

    Source can only display one surface of water at a time. If more than one are visible (meaning being inside a visible visleaf) only one will be rendered. Since the lightmappedreflective uses the same method as water, I am assuming water is visible somewhere, and the mirror is not rendered.

    Sollution:

    A) change the mirror to a cubemapreflection (not as nice looking)

    B) try to find the water, and get only one of both surfaces visible at any given point in the map

  • Mamorex
    • May 2, 2015 at 3:14 PM
    • #5

    [Blocked Image: http://oi62.tinypic.com/o9ltmg.jpg]


    It works fine in CS:GO, but:

    - only with flat normal map

    - you can't place the water surfaces with "water" shader at rooms with mirrors

    - you must place your mirrors in one surface (like in other Source engine based games)

    csgo_mirror.zip

  • darkk_eden
    • May 11, 2015 at 11:58 AM
    • #6
    Quote from Smileytopin

    It may be because it has translucent 1, try making translucent 0 and adding a brush behind it.


    Quote from TheGuma

    Smiley is right, it's Transcluent 1.

    Also try experimenting with Nocull 1 / 0


    okay, this may do it, ill try it out. havent messed with the settings yet. lets see what what does then .... afterwards ill edit here and let you guys know...


    changing translucense doesnt fix the main problem with seeing through walls, but it makes this a better mirror. thx.

  • darkk_eden
    • May 11, 2015 at 11:59 AM
    • #7

    I could make pictures of my problem, hang on ... ill edit and put them here


    http://img4web.com/g/WD2RV 

  • darkk_eden
    • May 11, 2015 at 12:00 PM
    • #8
    Quote from Mamorex

    [Blocked Image: http://oi62.tinypic.com/o9ltmg.jpg]


    It works fine in CS:GO, but:

    - only with flat normal map

    - you can't place the water surfaces with "water" shader at rooms with mirrors

    - you must place your mirrors in one surface (like in other Source engine based games)

    Display More

    well no,

    -actually there is no single room with more than one of these surfaces. the problem was that i could see through walls instead of seeing a mirrored image of my surroundings.

    -there is no water anywhere

    -it is only the surface of a func_detail with this texture.

  • darkk_eden
    • May 11, 2015 at 12:03 PM
    • #9
    Quote from borgking

    Besides already said solutions, this sounds like the multiple-water problem:

    Source can only display one surface of water at a time. If more than one are visible (meaning being inside a visible visleaf) only one will be rendered. Since the lightmappedreflective uses the same method as water, I am assuming water is visible somewhere, and the mirror is not rendered.

    Sollution:

    A) change the mirror to a cubemapreflection (not as nice looking)

    B) try to find the water, and get only one of both surfaces visible at any given point in the map

    there is no water on my map,


    how do i change to cubereflection?

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. How to Use a Free Kundali Maker for Accurate Future Predictions

    astr09
    July 23, 2026 at 6:35 AM
  2. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  3. Any of the old guard still around? D:

    Warby
    July 12, 2026 at 8:23 PM
  4. About our archived forums

    Thrik
    June 30, 2026 at 2:12 PM
  5. Mapcore Discord

    mason_fan123
    June 24, 2026 at 8:52 PM
  6. [CS2] Valley

    Serialmapper
    June 22, 2026 at 11:56 AM
  7. Free Music / SFX Resource - Over 2500 Tracks

    Eric Matyas
    June 18, 2026 at 12:32 PM
  8. Pango [WIP]

    Elowen
    June 11, 2026 at 10:13 AM
  9. [CS2] Dvina

    Jeremy Rivera
    June 11, 2026 at 10:03 AM
  10. Bridges 2.0 by NEXSIDE, MAP SHOWCASE. ( Steam Workshop )

    MrTrane18
    June 1, 2026 at 7:46 PM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™