needs more shader (for smoothing out lightmap render)

This commit is contained in:
minjaesong
2017-07-04 14:58:18 +09:00
parent 9027f85d1d
commit db2fd0c8e4
8 changed files with 89 additions and 24 deletions

View File

@@ -1,11 +1,13 @@
precision mediump float;
precision highp float;
uniform vec3 iResolution;
uniform sampler2D iChannel0;
uniform bool flip;
uniform vec2 direction;
#pragma glslify: blur = require('../')
//uniform mat4 u_projTrans;
#pragma glslify: blur = require('13')
void main() {
vec2 uv = vec2(gl_FragCoord.xy / iResolution.xy);