Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Improve env_sky2d #8

Open
Admer456 opened this issue Oct 13, 2020 · 0 comments
Open

Improve env_sky2d #8

Admer456 opened this issue Oct 13, 2020 · 0 comments
Labels
bug Something isn't working improvement This issue is requesting an improvement or a change priority-3 Lowest priority, will be addressed at some point
Milestone

Comments

@Admer456
Copy link
Owner

env_sky2d has the following two issues:

  • it supports only up to 128x128 textures
  • it renders in front of transparent surfaces

One way to solve the first is to render more quads in TriAPI to support 256x256 textures, and thus, eventually 512x512. However, that's a problem because we'd have to render more quads and do more maths, and that's going to slow things down. Ideally, we would use an image-loading library and OpenGL code to render the skybox, and it is how I'm intending to do it.

As for the second, I'm not entirely sure.

Since solving this properly will require some custom OpenGL code, this issue is aimed at 0.2.0 instead of 0.1.0

@Admer456 Admer456 added bug Something isn't working enhancement priority-3 Lowest priority, will be addressed at some point labels Oct 13, 2020
@Admer456 Admer456 added this to the v0.2.0 milestone Oct 13, 2020
@Admer456 Admer456 added improvement This issue is requesting an improvement or a change and removed enhancement labels Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working improvement This issue is requesting an improvement or a change priority-3 Lowest priority, will be addressed at some point
Projects
None yet
Development

No branches or pull requests

1 participant