diff options
author | chai <chaifix@163.com> | 2019-01-04 22:54:59 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-04 22:54:59 +0800 |
commit | c446e8186afa31c8d346383c0db8b8070fa563cd (patch) | |
tree | a2a0e088c51f1ba251756aa5ab50b27dc8eeef39 /samples/post-processing | |
parent | c42eb2529eead4b17c0c7f9da7ac9c41563a13fa (diff) |
*编译jsl shader失败时使用error shader
Diffstat (limited to 'samples/post-processing')
-rw-r--r-- | samples/post-processing/shaders/rgb-split.jsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/post-processing/shaders/rgb-split.jsl b/samples/post-processing/shaders/rgb-split.jsl index e3b8abc..41e7762 100644 --- a/samples/post-processing/shaders/rgb-split.jsl +++ b/samples/post-processing/shaders/rgb-split.jsl @@ -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 |