diff options
author | chai <chaifix@163.com> | 2019-01-07 09:54:08 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-07 09:54:08 +0800 |
commit | 2af7f2f5e3da8f6c236e7996781950e1bc6c1f9c (patch) | |
tree | f6a8a9618e146c93e4d4d964a6e13cd16f528693 /samples/post-processing/shaders | |
parent | 909e544ed322b28a6f59febf3213e05068e9e93c (diff) | |
parent | da056982e50bdd9cb9f944691cc88ca98b053b77 (diff) |
Merge branch 'master' of warmcat.org:/home/git-repo/Jin
Diffstat (limited to 'samples/post-processing/shaders')
-rw-r--r-- | samples/post-processing/shaders/rgb-split.jsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/post-processing/shaders/rgb-split.jsl b/samples/post-processing/shaders/rgb-split.jsl index e3b8abc..aba401b 100644 --- a/samples/post-processing/shaders/rgb-split.jsl +++ b/samples/post-processing/shaders/rgb-split.jsl @@ -9,7 +9,7 @@ Vertex vert(Vertex v) Color frag(Color col, Texture tex, Vertex v) { float t = jin_Time.x; - t = 0.02; + //t = 0.02; float a = abs(sin(t)) * 3.14; vec2 p = vec2(0.5*cos(a) + 0.5, 0.5*sin(a) + 0.5); vec2 dir = v.uv - p; @@ -22,4 +22,4 @@ Color frag(Color col, Texture tex, Vertex v) vec4 c3 = texel(tex, v.uv + value / jin_RenderTargetSize.y); return vec4(c1.r, c2.g, c3.b, c1.a + c2.a + c3.b); } -#END_FRAGMENT_SHADER
\ No newline at end of file +#END_FRAGMENT_SHADER |