Skip to content
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

Distance field rendering #3

Merged
merged 1 commit into from
Apr 6, 2018
Merged

Distance field rendering #3

merged 1 commit into from
Apr 6, 2018

Conversation

mks-m
Copy link
Collaborator

@mks-m mks-m commented Apr 6, 2018

No description provided.

@mks-m mks-m requested a review from maxfish April 6, 2018 18:35
p.SetAnchorToCenter()
return p

// TODO: this should be done in draw/drawInBatch?
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this question. In the Draw() method you need to setup everything, in the drawInBatch() you already have texture and shader setup, you just need to send the uniforms

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, i'll need to make a separate primitive type and override draw/drawinbatches

@maxfish maxfish merged commit 89a0151 into master Apr 6, 2018
@maxfish maxfish deleted the text-render-p2 branch April 7, 2018 05:11
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