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

Use a plane-based screen instead of textures #1

Open
belohlavek opened this issue Apr 28, 2018 · 0 comments
Open

Use a plane-based screen instead of textures #1

belohlavek opened this issue Apr 28, 2018 · 0 comments

Comments

@belohlavek
Copy link
Collaborator

belohlavek commented Apr 28, 2018

What?

We should build a 2D array of 3D planes (like pixels) and control the color of each plane remotely.

Why?

If we have a 256x256 resolution for all games, and we use an 8bit palette, then we can reduce the bandwidth usage substantially and achieve a crisp result by removing the blur from the screen.
By mapping all colors of the 8bit palette to a number we can just send an ArrayBuffer containing 65536 integers (256x256). We could even have games with lower resolutions and that number would be reduced even further.

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