Whenever I draw a polygon using opengl the edges look bad because straight lines look bad. I want the edges to have nice soft antialiased edges but that's not how opengl draws polygons. Multisampling AA doesn't help as much as I expect it to.
-
-
Try replacing smoothstep with this function: https://github.com/servo/webrender/blob/ad6cec76254030e8fcc4e6c7e5e300c69b6d36ca/webrender/res/shared.glsl#L91 … You’ll get a much better result. (I wrote the error bounds in the comment there.)
- 6 more replies
New conversation
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.