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. 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™