推荐关注:https://www.shadertoy.com/user/FabriceNeyret2
作者个人主页:http://evasion.imag.fr/Membres/Fabrice.Neyret/
Shadertoy 非官方页面
https://shadertoyunofficial.wordpress.com/
shadertoy 用户指南
https://shadertoyunofficial.wordpress.c ... -features/
Shadertoy / GLSL 实用技巧
https://shadertoyunofficial.wordpress.c ... ertoyglsl/
在 Shader 中显示文本
https://www.shadertoy.com/view/MtVXRd
https://www.shadertoy.com/view/MtySzd
第一个示例代码缩减,在Channel0 中选择 视频 - font1
```c
#define res iChannelResolution[0].xy
void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
// draw font texture with it's original size
vec2 uv = fragCoord / res;
uv -= 0.5 * (iResolution.xy - res) / res; // center image
fragColor = texture(iChannel0, uv).xxxx; // aa font
}
```
A Beginner's Guide to Coding Graphics Shaders
https://gamedevelopment.tutsplus.com/tu ... -cms-23313
Shadertoy 教学资料
在线用户
正浏览此版面之用户: 没有注册用户 和 3 访客