@pcwalton Hi, magnificent work on Pathfinder 3, congrats. Was going through the code and the reason you need GL ES 3 as opposed to ES2+exts is integer support in the shader correct? HalfFloat is av on iOS webgl, but not ints in shaders.
-
-
Replying to @rikarends
I don’t actually need integer support in the shader. Do you need PF3 to work on ES2?
1 reply 0 retweets 0 likes -
Replying to @pcwalton
Yes, since apple has all but abandoned webGL2, its fair to assume either it runs on webGL1 (with av exts like halfloat) or it won't run on 'web' for a long time.
2 replies 0 retweets 0 likes -
Replying to @rikarends @pcwalton
I was contemplating Pathfinder 3 as a font-atlas builder for Makepad since its either that or go do pixelfonts for lowDPI which apparently still most of the world has :)
1 reply 0 retweets 0 likes -
Replying to @rikarends
That’s a great use case. BTW I was thinking about making an SDF generator mode for PF3. Not quite sure how it will work yet.
2 replies 0 retweets 0 likes -
Replying to @pcwalton
I really like this idea of generating SDF's with pathfinder btw, it would give me atleast some dynamic scalability range, and it would take the pressure off of your core for AR/VR as well.
2 replies 0 retweets 0 likes -
Replying to @rikarends
SDF doesn’t work well for AR/VR. Unless you mean dynamically generating them every N frames. (In the latter case I don’t see much of a benefit over just doing GL_LINEAR scaling.)
1 reply 0 retweets 0 likes -
Replying to @pcwalton
Truth is i haven't actually tried this but i thought it would work OK, are the acute angles a problem?
2 replies 0 retweets 0 likes
Yes, among other problems. Everyone uses SDF now in VR and the results are pretty bad.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.