NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
Other
11 stars 9 forks source link

Scope texture should fill the entire screen #468

Open Agiel opened 1 week ago

Agiel commented 1 week ago

Build Info

20240629_321f139

Description

In OG NT the scope texture stretches to fill the entire screen. Here it doesn't. I suppose it looks better when the scope is round rather than oval, but if we're going for parity we should make it stretch. Otherwise the texture needs to be worked on so it looks better.

To Reproduce

sv_cheats 1 give weapon_zr68l

Press right mouse to zoom and observe the scope overlay.

Expected behavior

The overlay should fill the entire screen. image

Actual behavior

The scope only fills a square in the center of the screen. image

Operating System

Version/Distro

Windors 10

Machine's CPU

No response

Machine's GPU

No response

GPU's driver

No response

Build's compiler

No response

Additional context and Screenshots

No response

AdamTadeusz commented 1 week ago

From CHudCrosshair::Paint

    // NEO TODO (Rain): the NT scope does a color slide around RGB 0-20,
    // instead of being completely black. For now, just picking a close-ish color
    // instead of accurately representing. Should probably pick samples of the
    // scope texture around the edges, and use those for fill color, instead.
    // Stretching the scope wouldn't be a great workaround, because it ties the scope
    // FOV to screen resolution, which can give an unfair advantage on widescreen
    // or multi-monitor setups.