QuickShader:快速创建WebGL的GLSL着色器

时间:2021-05-10 18:43:28
【文件属性】:
文件名称:QuickShader:快速创建WebGL的GLSL着色器
文件大小:182KB
文件格式:ZIP
更新时间:2021-05-10 18:43:28
HTML QuickShader QuickShader加快了创建WebGL片段着色器并将其显示在浏览器中的过程。 文件 以下代码段和描述包含使用QuickShader所需了解的所有内容。 请务必查看demos文件夹以获取更多示例。 // make a `QuickShader` instance var q = new QuickShader ( { // required fragment shader string shader : document . getElementById ( 'some-shader' ) . textContent , // width and height of the canvas (defaults to 400x400) width : 400 , height : 350 , // optionally append to
【文件预览】:
QuickShader-master
----.gitignore(22B)
----quick-shader.min.js(6KB)
----README.md(4KB)
----testbed()
--------six.html(3KB)
--------rings.html(2KB)
--------three.html(2KB)
--------five.html(3KB)
--------four.html(3KB)
--------other.html(2KB)
--------atanthing.html(2KB)
----LICENSE(1KB)
----Gruntfile.js(483B)
----package.json(594B)
----src()
--------quick-shader.js(10KB)
----demos()
--------texture.html(1KB)
--------custom-input2.html(1KB)
--------full-page.html(1KB)
--------pause-play.html(1KB)
--------mouse1.html(1KB)
--------custom-input1.html(1KB)
--------imgs()
--------mouse2.html(1KB)
--------time.html(934B)
--------textures.html(2KB)
--------simple-shader.html(787B)

网友评论