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

Which (sprite-based) render types support gradients? #2

Open
ExpHP opened this issue Apr 12, 2021 · 0 comments
Open

Which (sprite-based) render types support gradients? #2

ExpHP opened this issue Apr 12, 2021 · 0 comments

Comments

@ExpHP
Copy link
Owner

ExpHP commented Apr 12, 2021

Dai asked a question on Discord about color modes 2 and 3 not working in STD. They had this ANM script:

type(8);
sprite(spr_fire0);
blendMode(1);
scrollY(0.001f);
rotate(rad(90f), 0.0f, 0.0f);
colorMode(3);
alpha(224);
alpha2(0);
stop();

(and they also tried with color/color2)

I took a quick peek at DDC in binary ninja and..... it seems very well possible that mode 8 does not, in fact, support gradients.

Did I never test this? Some day I should take proper notes on which sprite-based render types actually do support gradients. (and this includes the modes for texCircle and friends)

Dai did a test on the 3D render types in WBaWC:

  • 8 and 15: no gradients. (said they both look identical)
  • "also 5 fills the entire screen with the sprite and supports gradients, and 7 does the same thing but without gradients. 7 also blends with background fog" (these probably aren't meant to be used in 3D but just happen to be visible)
  • 4 and 6 billboarding DOES support gradient.
@ExpHP ExpHP changed the title Which render types support gradients? Which (sprite-based) render types support gradients? Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant