r3dwolf Posted November 13, 2017 Share Posted November 13, 2017 Hello, Is there a way to know if a loaded texture has the alpha channel? There is hasAlpha property in baseTexture but is always false. Quote Link to comment Share on other sites More sharing options...
RaananW Posted November 13, 2017 Share Posted November 13, 2017 You will need to provide this information. the hasAlpha is being set by the developer so that the engine will know if this image as an alpha channel or not. As a rule of thumb - png and gif CAN have alpha, JPG never. So you could use this information as a start 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.