ShaderSigned Distance Fields
Posted stalendp
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ShaderSigned Distance Fields相关的知识,希望对你有一定的参考价值。
关键词:distance Field realtime, SDF: Signed Distance Field
A simple and efficient method is presented which allows improved rendering of glyphs composed of curved and linear elements. A distance field is generated from a high resolution image, and then stored into a channel of a lower-resolution texture. In the simplest case, this texture can then be rendered simply by using the alphatesting and alpha-thresholding feature of modern GPUs, without a custom shader. This allows the technique to be used on even the lowest-end 3D graphics hardware.
1. 研究distance Field技术,并尝试在GPU端进行处理
https://steamcdn-a.akamaihd.net/apps/valve/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf
http://www.codersnotes.com/notes/signed-distance-fields/
https://www.ronja-tutorials.com/2018/11/10/2d-sdf-basics.html
https://www.ronja-tutorials.com/2018/11/17/2d-sdf-combination.html
https://prideout.net/blog/distance_fields/
https://www.shadertoy.com/view/llK3Wm
https://developer.nvidia.com/gpugems/GPUGems3/gpugems3_ch34.html
以上是关于ShaderSigned Distance Fields的主要内容,如果未能解决你的问题,请参考以下文章