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

Zoom effect within model

  • Mr-Jigsaw
  • September 5, 2006 at 5:40 AM
  • Mr-Jigsaw
    • September 5, 2006 at 5:40 AM
    • #1

    During the single player of Half-life 2, Water Hazard to be exact, there was a magnifying glass that would refract the world behind it depending on your position in accordance to it. Then, would it be possible to create a spotting scope model that would zoom without having to "use" it? If so, what steps would be necessary to make it? Would the steps be in the skinning or would you have to make a few separate models that could be placed so that they appear to be attached?

    From the other side of the model, it could possibly refract the world.

  • hessi
    • September 5, 2006 at 11:37 AM
    • #2

    as you already mentioned: it uses a refraction shader.

    those are documentated in the valve sdk wiki. there might be a problem while using a refracting material on a scope: refractions get a little fuzzy. they are not that crisp as you might want to have them.

    another fact that i would keep in mind: refraction requires at least 2 renderpasses: regular pass and a refraction pass. in both passes the whole view will have to be rendered! this might heavily drop your fps.

    i'd do it the same way CS:S and DOD:S do!

    maybe you could just try out too and check out the performance, but i'D guess it wouldnt be that smooth as you might want to have it.

    btw: dx 8.0 doesnt support refractions (or does it?)

  • Mr-Jigsaw
    • September 7, 2006 at 12:54 AM
    • #3

    Maybe it would just be best to make each lens reflective instead. It wouldn't zoom or anything, but that was just an idea anyway. It wouldn't really affect gameplay. Now, that is a very simple to make prop.

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. First CS2 Maps DM and Bomb Defusal

    Reinigera
    December 3, 2026 at 4:21 AM
  2. Techno (CS2 wingman)

    snakEZ
    November 28, 2026 at 4:25 PM
  3. [CS:GO][WiP] cs_opera

    MaanMan
    November 28, 2026 at 12:37 AM
  4. [cs2][WIP] De_digital Version 2! Looking for Feedback

    Howw3
    November 22, 2026 at 8:40 PM
  5. Let's go!

    Thrik
    November 18, 2026 at 6:48 PM
  6. [TF2] koth_arctic - revisiting my old winter map

    zlatan24
    November 18, 2026 at 1:06 PM
  7. Hello from Normandy: Metin, working on a tactical FPS

    zlatan24
    November 17, 2026 at 6:29 PM
  8. Mapcore Introductions Thread

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

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

    EmberKrakenCS2
    November 9, 2026 at 10:21 PM

Users Viewing This Thread

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