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

Need some help understanding the code #10

Open
gauravgrover95 opened this issue Jun 5, 2018 · 1 comment
Open

Need some help understanding the code #10

gauravgrover95 opened this issue Jun 5, 2018 · 1 comment
Labels

Comments

@gauravgrover95
Copy link

Hi,

While I understand many things in the code. I am having confusions with the following variables. Can you kindly briefly describe what they are doing?

  • Radius
  • Inner grid
  • Outer grid
  • Alpha channel

Thanks in advance.

@lyuavery
Copy link

i have the same confusions.Why radius is fontSize/3 ?Besides, 255 - 255 * (d / this.radius + this.cutoff) seems not being normalized to [0,1] according to valve's talk(https://steamcdn-a.akamaihd.net/apps/valve/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf).Is this just a hacking around or something?
I would appretiate if you could tell me something about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants