Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scope texture should fill the entire screen #468

Open
1 of 2 tasks
Agiel opened this issue Jul 2, 2024 · 1 comment
Open
1 of 2 tasks

Scope texture should fill the entire screen #468

Agiel opened this issue Jul 2, 2024 · 1 comment
Labels
Bug Report Bug Reports made through the "Report Issue" interface in GitHub.

Comments

@Agiel
Copy link
Contributor

Agiel commented Jul 2, 2024

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

  • Windows
  • Linux

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

@Agiel Agiel added the Bug Report Bug Reports made through the "Report Issue" interface in GitHub. label Jul 2, 2024
@AdamTadeusz
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Bug Reports made through the "Report Issue" interface in GitHub.
Projects
Status: No status
Development

No branches or pull requests

2 participants