Skip to content

Conversation

@Saishy
Copy link

@Saishy Saishy commented Apr 23, 2018

Added a new shader that adds pixel perfect outlines to fonts.

Added a new shader that adds pixel perfect outlines to fonts.
@AlexanderOcias
Copy link
Owner

Shader appears to have no effect on my end here, got a usage example?

@Saishy
Copy link
Author

Saishy commented Apr 24, 2018 via email

This shader was created because UI elements don't accept materialpropertyblocks.
So you can directly change the outline on the inspector.
@Saishy
Copy link
Author

Saishy commented Apr 24, 2018

Ok seeing how the TextMeshes (Not pro) now work correctly after doing ((1 / PPU) * 10) this shader is relevant again.

I've also added a new one that allows you to change the Outline properties from the inspector, because UI elements don't accept MaterialPropertyBlocks, so Canvas Texts can now have outlines and batching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants