phoboz Posted January 26, 2022 Share Posted January 26, 2022 (edited) Does anyone know if the tga2cry tool has an option to pre-process a texture to set all intensities relative to 0x80? This is required for all shaded textured polygons, and it's annoying to do that manually in the code for all textures. Edited January 26, 2022 by phoboz Quote Link to comment Share on other sites More sharing options...
Zerosquare Posted January 26, 2022 Share Posted January 26, 2022 https://github.com/cubanismo/tga2cry/blob/master/tga2cry.txt Options for CRY output: (...) -relative n: Make all intensities signed offsets relative to n. This may be useful for producing shading or stained glass effects with the blitter. (The "-f glass" option is like "-relative 0x80", but also discards color information). 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.