├── .eslintrc ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── dev ├── assets │ ├── gltf │ │ ├── deer │ │ │ ├── deer1.bin │ │ │ └── deer1.gltf │ │ ├── head │ │ │ ├── model.bin │ │ │ └── model.gltf │ │ └── microphone │ │ │ ├── microphone.bin │ │ │ └── microphone.gltf │ ├── img │ │ ├── singleLight.hdr │ │ ├── studio.dds │ │ ├── test.jpg │ │ ├── test1.jpg │ │ └── test2.jpg │ └── video │ │ └── color1.mp4 ├── bugs │ └── TextureMinFilter.js ├── features │ ├── camera-ortho.js │ ├── classes │ │ └── ViewCube.js │ ├── gltf-parser.js │ ├── multi-render-target.js │ ├── scene-graph.js │ ├── utils │ │ └── debugCamera.js │ ├── webgl2-multitarget.js │ └── webgl2.js ├── global.scss ├── index.html ├── instance.vert ├── main.js ├── noise.frag ├── shaders │ ├── cube.frag │ ├── cube.vert │ ├── depth.frag │ ├── floor.frag │ ├── floor.vert │ ├── pass.vert │ ├── render.frag │ ├── render.vert │ ├── save.frag │ ├── save.vert │ ├── shadowMap.frag │ ├── shadowMap.vert │ ├── shadowMap300es.frag │ ├── shadowMap300es.vert │ └── sim.frag ├── test.frag ├── utils │ ├── quickSetup.js │ └── setupAlfrid.js └── uv.frag ├── package.json ├── src ├── alfrid.js └── alfrid │ ├── Batch.js │ ├── CubeFrameBuffer.js │ ├── FboArray.js │ ├── FboPingPong.js │ ├── FrameBuffer.js │ ├── GLCubeTexture.js │ ├── GLShader.js │ ├── GLTexture.js │ ├── GLTexture2.js │ ├── GLTool.js │ ├── Geom.js │ ├── Mesh.js │ ├── MultisampleFrameBuffer.js │ ├── TransformFeedbackObject.js │ ├── cameras │ ├── Camera.js │ ├── CameraCube.js │ ├── CameraOrtho.js │ └── CameraPerspective.js │ ├── helpers │ ├── BatchAxis.js │ ├── BatchBall.js │ ├── BatchCopy.js │ ├── BatchDotsPlane.js │ ├── BatchFXAA.js │ ├── BatchLine.js │ ├── BatchSky.js │ ├── BatchSkybox.js │ ├── Draw.js │ ├── Scene.js │ ├── ShaderUtils.js │ ├── View.js │ └── View3D.js │ ├── loaders │ ├── BinaryLoader.js │ ├── ColladaParser.js │ ├── GLTFParser.js │ ├── HDRLoader.js │ └── ObjLoader.js │ ├── math │ └── Ray.js │ ├── objects │ └── Object3D.js │ ├── post │ ├── EffectComposer.js │ ├── Pass.js │ ├── PassBloom.js │ ├── PassBlur.js │ ├── PassBlurBase.js │ ├── PassFxaa.js │ ├── PassHBlur.js │ ├── PassMacro.js │ └── PassVBlur.js │ ├── shaders │ ├── axis.frag │ ├── axis.vert │ ├── basic.frag │ ├── basic.vert │ ├── bigTriangle.vert │ ├── blur13.frag │ ├── blur5.frag │ ├── blur9.frag │ ├── copy.frag │ ├── dotsPlane.frag │ ├── dotsPlane.vert │ ├── fxaa.frag │ ├── general.vert │ ├── pbr.vert │ ├── pbrColor.frag │ ├── pbrTexture.frag │ ├── simpleColor.frag │ ├── sky.vert │ ├── skybox.frag │ └── skybox.vert │ └── utils │ ├── EaseNumber.js │ ├── EventDispatcher.js │ ├── ExtensionsList.js │ ├── HDRParser.js │ ├── OrbitalControl.js │ ├── QuatRotation.js │ ├── ShaderLibs.js │ ├── SpringNumber.js │ ├── TouchDetector.js │ ├── TweenNumber.js │ ├── WebglConst.js │ ├── WebglNumber.js │ ├── exposeAttributes.js │ ├── getAndApplyExtension.js │ ├── getAttribLoc.js │ ├── getFloat.js │ ├── getHalfFloat.js │ ├── getMouse.js │ └── getTextureParameters.js ├── tasks ├── asset-template.js ├── basic.vert ├── checkExtension.js ├── copy-file.js ├── copy.frag ├── dev.js ├── find-folder-promise.js ├── find-folder.js ├── getAllMatches.js ├── getExtension.js ├── getFileName.js ├── html-watch.js ├── html.js ├── insertString.js ├── isDirectory.js ├── shader-watcher.js ├── test-shader.js ├── uniforms-checker.js ├── watch-asset.js └── watch.js └── webpack.config.js /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/README.md -------------------------------------------------------------------------------- /dev/assets/gltf/deer/deer1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/gltf/deer/deer1.bin -------------------------------------------------------------------------------- /dev/assets/gltf/deer/deer1.gltf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/gltf/deer/deer1.gltf -------------------------------------------------------------------------------- /dev/assets/gltf/head/model.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/gltf/head/model.bin -------------------------------------------------------------------------------- /dev/assets/gltf/head/model.gltf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/gltf/head/model.gltf -------------------------------------------------------------------------------- /dev/assets/gltf/microphone/microphone.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/gltf/microphone/microphone.bin -------------------------------------------------------------------------------- /dev/assets/gltf/microphone/microphone.gltf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/gltf/microphone/microphone.gltf -------------------------------------------------------------------------------- /dev/assets/img/singleLight.hdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/img/singleLight.hdr -------------------------------------------------------------------------------- /dev/assets/img/studio.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/img/studio.dds -------------------------------------------------------------------------------- /dev/assets/img/test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/img/test.jpg -------------------------------------------------------------------------------- /dev/assets/img/test1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/img/test1.jpg -------------------------------------------------------------------------------- /dev/assets/img/test2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/img/test2.jpg -------------------------------------------------------------------------------- /dev/assets/video/color1.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/assets/video/color1.mp4 -------------------------------------------------------------------------------- /dev/bugs/TextureMinFilter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/bugs/TextureMinFilter.js -------------------------------------------------------------------------------- /dev/features/camera-ortho.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/features/camera-ortho.js -------------------------------------------------------------------------------- /dev/features/classes/ViewCube.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/features/classes/ViewCube.js -------------------------------------------------------------------------------- /dev/features/gltf-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/features/gltf-parser.js -------------------------------------------------------------------------------- /dev/features/multi-render-target.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/features/multi-render-target.js -------------------------------------------------------------------------------- /dev/features/scene-graph.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/features/scene-graph.js -------------------------------------------------------------------------------- /dev/features/utils/debugCamera.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/features/utils/debugCamera.js -------------------------------------------------------------------------------- /dev/features/webgl2-multitarget.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/features/webgl2-multitarget.js -------------------------------------------------------------------------------- /dev/features/webgl2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/features/webgl2.js -------------------------------------------------------------------------------- /dev/global.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/global.scss -------------------------------------------------------------------------------- /dev/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/index.html -------------------------------------------------------------------------------- /dev/instance.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/instance.vert -------------------------------------------------------------------------------- /dev/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/main.js -------------------------------------------------------------------------------- /dev/noise.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/noise.frag -------------------------------------------------------------------------------- /dev/shaders/cube.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/cube.frag -------------------------------------------------------------------------------- /dev/shaders/cube.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/cube.vert -------------------------------------------------------------------------------- /dev/shaders/depth.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/depth.frag -------------------------------------------------------------------------------- /dev/shaders/floor.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/floor.frag -------------------------------------------------------------------------------- /dev/shaders/floor.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/floor.vert -------------------------------------------------------------------------------- /dev/shaders/pass.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/pass.vert -------------------------------------------------------------------------------- /dev/shaders/render.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/render.frag -------------------------------------------------------------------------------- /dev/shaders/render.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/render.vert -------------------------------------------------------------------------------- /dev/shaders/save.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/save.frag -------------------------------------------------------------------------------- /dev/shaders/save.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/save.vert -------------------------------------------------------------------------------- /dev/shaders/shadowMap.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/shadowMap.frag -------------------------------------------------------------------------------- /dev/shaders/shadowMap.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/shadowMap.vert -------------------------------------------------------------------------------- /dev/shaders/shadowMap300es.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/shadowMap300es.frag -------------------------------------------------------------------------------- /dev/shaders/shadowMap300es.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/shadowMap300es.vert -------------------------------------------------------------------------------- /dev/shaders/sim.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/shaders/sim.frag -------------------------------------------------------------------------------- /dev/test.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/test.frag -------------------------------------------------------------------------------- /dev/utils/quickSetup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/utils/quickSetup.js -------------------------------------------------------------------------------- /dev/utils/setupAlfrid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/utils/setupAlfrid.js -------------------------------------------------------------------------------- /dev/uv.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/dev/uv.frag -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/package.json -------------------------------------------------------------------------------- /src/alfrid.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid.js -------------------------------------------------------------------------------- /src/alfrid/Batch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/Batch.js -------------------------------------------------------------------------------- /src/alfrid/CubeFrameBuffer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/CubeFrameBuffer.js -------------------------------------------------------------------------------- /src/alfrid/FboArray.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/FboArray.js -------------------------------------------------------------------------------- /src/alfrid/FboPingPong.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/FboPingPong.js -------------------------------------------------------------------------------- /src/alfrid/FrameBuffer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/FrameBuffer.js -------------------------------------------------------------------------------- /src/alfrid/GLCubeTexture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/GLCubeTexture.js -------------------------------------------------------------------------------- /src/alfrid/GLShader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/GLShader.js -------------------------------------------------------------------------------- /src/alfrid/GLTexture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/GLTexture.js -------------------------------------------------------------------------------- /src/alfrid/GLTexture2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/GLTexture2.js -------------------------------------------------------------------------------- /src/alfrid/GLTool.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/GLTool.js -------------------------------------------------------------------------------- /src/alfrid/Geom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/Geom.js -------------------------------------------------------------------------------- /src/alfrid/Mesh.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/Mesh.js -------------------------------------------------------------------------------- /src/alfrid/MultisampleFrameBuffer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/MultisampleFrameBuffer.js -------------------------------------------------------------------------------- /src/alfrid/TransformFeedbackObject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/TransformFeedbackObject.js -------------------------------------------------------------------------------- /src/alfrid/cameras/Camera.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/cameras/Camera.js -------------------------------------------------------------------------------- /src/alfrid/cameras/CameraCube.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/cameras/CameraCube.js -------------------------------------------------------------------------------- /src/alfrid/cameras/CameraOrtho.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/cameras/CameraOrtho.js -------------------------------------------------------------------------------- /src/alfrid/cameras/CameraPerspective.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/cameras/CameraPerspective.js -------------------------------------------------------------------------------- /src/alfrid/helpers/BatchAxis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/BatchAxis.js -------------------------------------------------------------------------------- /src/alfrid/helpers/BatchBall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/BatchBall.js -------------------------------------------------------------------------------- /src/alfrid/helpers/BatchCopy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/BatchCopy.js -------------------------------------------------------------------------------- /src/alfrid/helpers/BatchDotsPlane.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/BatchDotsPlane.js -------------------------------------------------------------------------------- /src/alfrid/helpers/BatchFXAA.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/BatchFXAA.js -------------------------------------------------------------------------------- /src/alfrid/helpers/BatchLine.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/BatchLine.js -------------------------------------------------------------------------------- /src/alfrid/helpers/BatchSky.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/BatchSky.js -------------------------------------------------------------------------------- /src/alfrid/helpers/BatchSkybox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/BatchSkybox.js -------------------------------------------------------------------------------- /src/alfrid/helpers/Draw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/Draw.js -------------------------------------------------------------------------------- /src/alfrid/helpers/Scene.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/Scene.js -------------------------------------------------------------------------------- /src/alfrid/helpers/ShaderUtils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/ShaderUtils.js -------------------------------------------------------------------------------- /src/alfrid/helpers/View.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/View.js -------------------------------------------------------------------------------- /src/alfrid/helpers/View3D.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/helpers/View3D.js -------------------------------------------------------------------------------- /src/alfrid/loaders/BinaryLoader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/loaders/BinaryLoader.js -------------------------------------------------------------------------------- /src/alfrid/loaders/ColladaParser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/loaders/ColladaParser.js -------------------------------------------------------------------------------- /src/alfrid/loaders/GLTFParser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/loaders/GLTFParser.js -------------------------------------------------------------------------------- /src/alfrid/loaders/HDRLoader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/loaders/HDRLoader.js -------------------------------------------------------------------------------- /src/alfrid/loaders/ObjLoader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/loaders/ObjLoader.js -------------------------------------------------------------------------------- /src/alfrid/math/Ray.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/math/Ray.js -------------------------------------------------------------------------------- /src/alfrid/objects/Object3D.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/objects/Object3D.js -------------------------------------------------------------------------------- /src/alfrid/post/EffectComposer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/post/EffectComposer.js -------------------------------------------------------------------------------- /src/alfrid/post/Pass.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/post/Pass.js -------------------------------------------------------------------------------- /src/alfrid/post/PassBloom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/post/PassBloom.js -------------------------------------------------------------------------------- /src/alfrid/post/PassBlur.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/post/PassBlur.js -------------------------------------------------------------------------------- /src/alfrid/post/PassBlurBase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/post/PassBlurBase.js -------------------------------------------------------------------------------- /src/alfrid/post/PassFxaa.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/post/PassFxaa.js -------------------------------------------------------------------------------- /src/alfrid/post/PassHBlur.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/post/PassHBlur.js -------------------------------------------------------------------------------- /src/alfrid/post/PassMacro.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/post/PassMacro.js -------------------------------------------------------------------------------- /src/alfrid/post/PassVBlur.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/post/PassVBlur.js -------------------------------------------------------------------------------- /src/alfrid/shaders/axis.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/axis.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/axis.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/axis.vert -------------------------------------------------------------------------------- /src/alfrid/shaders/basic.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/basic.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/basic.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/basic.vert -------------------------------------------------------------------------------- /src/alfrid/shaders/bigTriangle.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/bigTriangle.vert -------------------------------------------------------------------------------- /src/alfrid/shaders/blur13.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/blur13.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/blur5.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/blur5.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/blur9.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/blur9.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/copy.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/copy.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/dotsPlane.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/dotsPlane.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/dotsPlane.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/dotsPlane.vert -------------------------------------------------------------------------------- /src/alfrid/shaders/fxaa.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/fxaa.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/general.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/general.vert -------------------------------------------------------------------------------- /src/alfrid/shaders/pbr.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/pbr.vert -------------------------------------------------------------------------------- /src/alfrid/shaders/pbrColor.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/pbrColor.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/pbrTexture.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/pbrTexture.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/simpleColor.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/simpleColor.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/sky.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/sky.vert -------------------------------------------------------------------------------- /src/alfrid/shaders/skybox.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/skybox.frag -------------------------------------------------------------------------------- /src/alfrid/shaders/skybox.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/shaders/skybox.vert -------------------------------------------------------------------------------- /src/alfrid/utils/EaseNumber.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/EaseNumber.js -------------------------------------------------------------------------------- /src/alfrid/utils/EventDispatcher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/EventDispatcher.js -------------------------------------------------------------------------------- /src/alfrid/utils/ExtensionsList.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/ExtensionsList.js -------------------------------------------------------------------------------- /src/alfrid/utils/HDRParser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/HDRParser.js -------------------------------------------------------------------------------- /src/alfrid/utils/OrbitalControl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/OrbitalControl.js -------------------------------------------------------------------------------- /src/alfrid/utils/QuatRotation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/QuatRotation.js -------------------------------------------------------------------------------- /src/alfrid/utils/ShaderLibs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/ShaderLibs.js -------------------------------------------------------------------------------- /src/alfrid/utils/SpringNumber.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/SpringNumber.js -------------------------------------------------------------------------------- /src/alfrid/utils/TouchDetector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/TouchDetector.js -------------------------------------------------------------------------------- /src/alfrid/utils/TweenNumber.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/TweenNumber.js -------------------------------------------------------------------------------- /src/alfrid/utils/WebglConst.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/WebglConst.js -------------------------------------------------------------------------------- /src/alfrid/utils/WebglNumber.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/WebglNumber.js -------------------------------------------------------------------------------- /src/alfrid/utils/exposeAttributes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/exposeAttributes.js -------------------------------------------------------------------------------- /src/alfrid/utils/getAndApplyExtension.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/getAndApplyExtension.js -------------------------------------------------------------------------------- /src/alfrid/utils/getAttribLoc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/getAttribLoc.js -------------------------------------------------------------------------------- /src/alfrid/utils/getFloat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/getFloat.js -------------------------------------------------------------------------------- /src/alfrid/utils/getHalfFloat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/getHalfFloat.js -------------------------------------------------------------------------------- /src/alfrid/utils/getMouse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/getMouse.js -------------------------------------------------------------------------------- /src/alfrid/utils/getTextureParameters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/src/alfrid/utils/getTextureParameters.js -------------------------------------------------------------------------------- /tasks/asset-template.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/asset-template.js -------------------------------------------------------------------------------- /tasks/basic.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/basic.vert -------------------------------------------------------------------------------- /tasks/checkExtension.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/checkExtension.js -------------------------------------------------------------------------------- /tasks/copy-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/copy-file.js -------------------------------------------------------------------------------- /tasks/copy.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/copy.frag -------------------------------------------------------------------------------- /tasks/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/dev.js -------------------------------------------------------------------------------- /tasks/find-folder-promise.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/find-folder-promise.js -------------------------------------------------------------------------------- /tasks/find-folder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/find-folder.js -------------------------------------------------------------------------------- /tasks/getAllMatches.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/getAllMatches.js -------------------------------------------------------------------------------- /tasks/getExtension.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/getExtension.js -------------------------------------------------------------------------------- /tasks/getFileName.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/getFileName.js -------------------------------------------------------------------------------- /tasks/html-watch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/html-watch.js -------------------------------------------------------------------------------- /tasks/html.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/html.js -------------------------------------------------------------------------------- /tasks/insertString.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/insertString.js -------------------------------------------------------------------------------- /tasks/isDirectory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/isDirectory.js -------------------------------------------------------------------------------- /tasks/shader-watcher.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/shader-watcher.js -------------------------------------------------------------------------------- /tasks/test-shader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/test-shader.js -------------------------------------------------------------------------------- /tasks/uniforms-checker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/uniforms-checker.js -------------------------------------------------------------------------------- /tasks/watch-asset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/watch-asset.js -------------------------------------------------------------------------------- /tasks/watch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/tasks/watch.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yiwenl/Alfrid/HEAD/webpack.config.js --------------------------------------------------------------------------------