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

Question or feature request about dithering at the distance #15

Closed
thisnickwasfree opened this issue Jun 23, 2020 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@thisnickwasfree
Copy link

Is it possible to activate dithering (like semi-transparent pixels has) for far objects? To allow their slow, step-by-step appearing at the distance of drawing?

@Luke100000
Copy link
Collaborator

It is technically possible but required minor modifications. I will add it together with LoD since this feature depends on distance dither too.

@Luke100000 Luke100000 added the enhancement New feature or request label Jun 27, 2020
@Luke100000
Copy link
Collaborator

Done. Use dream.alphaBlendMode = "dither" (or let it unchanged for transparent fade out) and set the color (alpha channel) with l.g.setColor() before the draw call. Currently LoDs do not fade but I want to add this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants