Admer456 / halflife-adm-legacy

Advanced Development Mod - technical overhaul for Half-Life
Other
17 stars 5 forks source link

Improve env_sky2d #8

Open Admer456 opened 4 years ago

Admer456 commented 4 years ago

env_sky2d has the following two issues:

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