- 博客(3)
- 收藏
- 关注
转载 shaderToy学习笔记
转载自shaderToy学习篇 - 桔子桑 - 博客园// The MIT License// https://www.youtube.com/c/InigoQuilez// https://iquilezles.org/// Copyright © 2015 Inigo Quilez// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass
2021-10-25 15:00:13
262
转载 shaderToy:Seascape开源源码学习
/* * "Seascape" by Alexander Alekseev aka TDM - 2014 * License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. * Contact: tdmaav@gmail.com */const int NUM_STEPS = 8;const float PI = 3.141592;const float EPSILON = 1e-3.
2021-10-20 15:08:51
434
转载 shaderToy初学笔记(一)(转载自最简单的ShaderToy入门 - 笑脸渲染_亨利王的博客-CSDN博客_shadertoy)
void mainImage( out vec4 fragColor, in vec2 fragCoord ){ vec2 uv = fragCoord/iResolution.xy; uv-=.5; float d = length(uv); float c = d; if(d<0.3) c=1.0; else c = 0.0; fragColor = vec4(vec3(c), 1.0);uv.x *= iResolution.x/iR.
2021-10-20 11:40:49
1149
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅