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

[Feature] Expose PSPrite's stencilcolor or add A_OverlayShade/SetShade method #2671

Open
jekyllgrim opened this issue Aug 14, 2024 · 0 comments

Comments

@jekyllgrim
Copy link
Contributor

jekyllgrim commented Aug 14, 2024

GZDoom version

4.12.2

Which game are you running with GZDoom?

None

What Operating System are you using?

Windows 10

If Other OS, please describe

No response

Relevant hardware info

No response

Is your feature request related to a problem? Please describe.

While STYLE_Shaded can be set on a PSprite, there's no field or method that would allow actually modifying its color afterwards, which is very inconvenient.

Describe the solution you'd like

Either a stencilcolor field, or a dedicated SetShade() and/or A_OverlayShade() method.

Describe alternatives you've considered

  1. Using color translation (barely an alternative, since translations can't be created on the fly).
  2. Using a custom material shader (way more setup, not generic enough).

Add any other context or screenshots about the feature request here.

No response

@jekyllgrim jekyllgrim changed the title [Feature] Expose PSPrite's stencilcolor orr add A_OverlayShade method [Feature] Expose PSPrite's stencilcolor or add A_OverlayShade/SetShade method Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant