-
Notifications
You must be signed in to change notification settings - Fork 340
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
Tint Brushes - how do they work? #52
Comments
@ChuanXin-Unity seconding a request for documentation and an example scene for TintBrushSmooth. We've wanted it ever since seeing it in action in the Robodash demo but have always resorted to using other workarounds. Please make it happen! |
Hi, I have updated 2d-techdemos with an example scene for TintBrushSmooth on the master branch. There is some setup to be able to use this brush:
The TintTextureGenerator component generates a Tint texture which is used by the TintedTilemap shader to blend the Tint and the Color of the Sprites used. If you have your own shader/s for the Tilemap, you can try merging the code in from the TintedTilemap shader to your shader/s. |
Fantastic, thanks so much! |
Thanks very much for this extra demo and info! |
Hi,
I can't seem to see any UI controls for the Tint Brush. I saw on a Robodash demo video, that there was a color and blend parameter displayed on the Tilemap Pallette UI. I just don't see them.
The brush itself seems to work - it paints white colour on tiles with manually modified colour.
I'm using Unity 2018.2.1f1.
I tried the 2d-techdemos, but it's not working there neither. BTW. upon opening it says the project has been saved with Unity 2017.2, despite readme saying it's been saved with 2018.2....
Also - how do you setup the TintBrush Smooth? There's no example scene in the 2d-techdemos. No documentation anywhere. I have no idea what to do with the shader file - I tried applying it to a Tilemap Renderer, but it's not being recognized as a valid shader.
Any help will be greatly appreciated, as I've already spent some time trying to figure out stuff with no luck.
Thanks,
J.
The text was updated successfully, but these errors were encountered: