-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support DDS Textures #6
Comments
Although this is implemented, we can't use it yet because of this bug: mrdoob#4316 where compressed DDS textures are displayed upside-down. |
One solution is we switch off texture flipping completely (it is on by default), which would apply to all textures including PNGs. We would then reverse our vertical texture coordinates in all cases. |
…in UV coordinates to work around mrdoob#4316, allowing us to use uncompressed DDS, compressed DDS and PNG textures interchangeably. Closes #6.
Polygon textures need to be flipped too, because letters such as https://www.opensceneryx.com/polygons/airport/taxisign_parts/characters_yellow/p/ are appearing upside-down. Might be worth doing the same with lines as well, in case they ever include letters. |
… flip uvs for vertical texture coordinates. #6.
Polygons are now fixed. Lines didn't need any changes. |
The X-Plane format supports DDS textures. Note that X-Plane will try to load DDS textures if available irrespective whether the
TEXTURE
path points to a.png
, so we should probably do the same.The text was updated successfully, but these errors were encountered: