[/branches/bgfx_shader/bgfx/effects] | defocus.json distortion.json |
[/branches/bgfx_shader/bgfx/shaders/dx11] | fs_blit.bin fs_color.bin fs_deconverge.bin fs_defocus.bin fs_distortion.bin fs_gui.bin fs_ntsc_decode.bin fs_ntsc_encode.bin fs_phosphor.bin fs_post.bin fs_screen.bin vs_blit.bin vs_color.bin vs_deconverge.bin vs_defocus.bin vs_distortion.bin vs_gui.bin vs_ntsc_decode.bin vs_ntsc_encode.bin vs_phosphor.bin vs_post.bin vs_screen.bin |
[/branches/bgfx_shader/bgfx/shaders/dx9] | fs_blit.bin fs_color.bin fs_deconverge.bin fs_defocus.bin fs_distortion.bin fs_gui.bin fs_ntsc_decode.bin fs_ntsc_encode.bin fs_phosphor.bin fs_post.bin fs_screen.bin vs_blit.bin vs_color.bin vs_deconverge.bin vs_defocus.bin vs_distortion.bin vs_gui.bin vs_ntsc_decode.bin vs_ntsc_encode.bin vs_phosphor.bin vs_post.bin vs_screen.bin |
[/branches/bgfx_shader/bgfx/shaders/gles] | fs_defocus.bin fs_distortion.bin |
[/branches/bgfx_shader/bgfx/shaders/glsl] | fs_defocus.bin fs_distortion.bin |
[/branches/bgfx_shader/bgfx/shaders/metal] | fs_defocus.bin fs_distortion.bin |
[/branches/bgfx_shader/src/osd/modules/lib] | osdobj_common.cpp osdobj_common.h |
[/branches/bgfx_shader/src/osd/modules/render] | drawbgfx.cpp drawbgfx.h |
[/branches/bgfx_shader/src/osd/modules/render/bgfx] | chainentry.cpp chainentry.h chainentryreader.cpp effectmanager.cpp effectreader.cpp fs_defocus.sc fs_distortion.sc inputpair.cpp |
branches/bgfx_shader/bgfx/effects/defocus.json
r255121 | r255122 | |
18 | 18 | "fragment": "fs_defocus", |
19 | 19 | "uniforms": [ |
20 | 20 | { "name": "s_tex", "type": "int", "values": [ 1.0 ] }, |
21 | | { "name": "u_screen_dims", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }, |
| 21 | { "name": "u_tex_size0", "type": "vec4", "values": [ 1.0, 0.0, 0.0, 0.0 ] }, |
22 | 22 | { "name": "u_defocus", "type": "vec4", "values": [ 0.5, 0.5, 0.0, 0.0 ] } |
23 | 23 | ] |
24 | 24 | } |
| | No newline at end of file |
branches/bgfx_shader/bgfx/effects/distortion.json
r255121 | r255122 | |
17 | 17 | "vertex": "vs_distortion", |
18 | 18 | "fragment": "fs_distortion", |
19 | 19 | "uniforms": [ |
20 | | { "name": "s_tex", "type": "int", "values": [ 0.0 ] }, |
21 | | { "name": "u_screen_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }, |
22 | | { "name": "u_curvature", "type": "vec4", "values": [ 0.25, 0.0, 0.0, 0.0 ] }, |
23 | | { "name": "u_round_corner", "type": "vec4", "values": [ 0.2, 0.0, 0.0, 0.0 ] }, |
24 | | { "name": "u_smooth_border", "type": "vec4", "values": [ 0.05, 0.0, 0.0, 0.0 ] }, |
25 | | { "name": "u_vignetting", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] }, |
26 | | { "name": "u_reflection", "type": "vec4", "values": [ 0.30, 0.0, 0.0, 0.0 ] }, |
27 | | { "name": "u_rotation_type", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] } |
| 20 | { "name": "s_tex", "type": "int", "values": [ 0.0 ] }, |
| 21 | { "name": "u_swap_xy", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }, |
| 22 | { "name": "u_screen_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }, |
| 23 | { "name": "u_quad_dims", "type": "vec4", "values": [ 1.0, 1.0, 0.0, 0.0 ] }, |
| 24 | { "name": "u_rotation_type", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }, |
| 25 | { "name": "u_prepare_vector", "type": "vec4", "values": [ 0.0, 0.0, 0.0, 0.0 ] }, |
| 26 | { "name": "u_curvature", "type": "vec4", "values": [ 0.25, 0.0, 0.0, 0.0 ] }, |
| 27 | { "name": "u_round_corner", "type": "vec4", "values": [ 0.2, 0.0, 0.0, 0.0 ] }, |
| 28 | { "name": "u_smooth_border", "type": "vec4", "values": [ 0.05, 0.0, 0.0, 0.0 ] }, |
| 29 | { "name": "u_vignetting", "type": "vec4", "values": [ 0.20, 0.0, 0.0, 0.0 ] }, |
| 30 | { "name": "u_reflection", "type": "vec4", "values": [ 0.30, 0.0, 0.0, 0.0 ] } |
28 | 31 | ] |
29 | 32 | } |
| | No newline at end of file |