We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In order to get the shader for 8Bit textures working, it has to be assigned to self.shader in the initializer:
self.shader = texture.pixelFormat == CCTexturePixelFormat_A8 ? [CCShader positionTextureA8ColorShader] : [CCShader positionTextureColorShader];
I know the 8-Bit-Shader will get obsolete, but maybe it is nice to get it working for the final version of 3.4.
The text was updated successfully, but these errors were encountered:
When the bug is fixed, than the color property is used to paint the monochrome 8-bit texture. Otherwise 8-Bit textures are always black.
Sorry, something went wrong.
No branches or pull requests
In order to get the shader for 8Bit textures working,
it has to be assigned to self.shader in the initializer:
self.shader = texture.pixelFormat == CCTexturePixelFormat_A8 ? [CCShader positionTextureA8ColorShader] : [CCShader positionTextureColorShader];
I know the 8-Bit-Shader will get obsolete, but maybe it is nice to get it working for the final version of 3.4.
The text was updated successfully, but these errors were encountered: