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. Apollo Neuro Discount Code $99 Off [APOLLOZEN] Recovery Wearable Deal

    jax9090p
    July 12, 2026 at 9:08 AM
  2. Apollo Neuro Coupon Code $99 Off [APOLLOZEN] Wellness Buyer Guide

    jax9090p
    July 12, 2026 at 9:06 AM
  3. Apollo Neuro Promo Code $99 Off [APOLLOZEN] Checkout Savings

    jax9090p
    July 12, 2026 at 9:05 AM
  4. Apollo Neuro Discount Code $99 Off [APOLLOZEN] Military Wellness Deal

    jax9090p
    July 12, 2026 at 9:02 AM
  5. About our archived forums

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

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

    Serialmapper
    June 22, 2026 at 11:56 AM
  8. Any of the old guard still around? D:

    Thrik
    June 20, 2026 at 10:11 PM
  9. Free Music / SFX Resource - Over 2500 Tracks

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

    Elowen
    June 11, 2026 at 10:13 AM

Users Viewing This Thread

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