shader_setup_convolution_filter   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/graphics-pipeline.xtm

Implementation

;; matrix should be float* 5x5
(bind-func shader_setup_convolution_filter
  (lambda (matrix:float* shader:ShaderProgram* offset)
    (shader_set_grid_offsets matrix 1.0 1.0 offset) ;(* 2.0 (dtof (cos (* 2222.2 (i64tod (now)))))))
    (glUniform2fv (glGetUniformLocation (id shader) "texoffset") 25 matrix)
    (glUniform1i (glGetUniformLocation (id shader) "diffuseTexture") 1)))


Back to Index

Similar Entries

  • PARAM_FILTER_FRQ    scheme
  • PARAM_FILTER_FRQ    scheme
  • PARAM_FILTER_FRQ    scheme
  • PARAM_FILTER_RES    scheme
  • PARAM_FILTER_RES    scheme
  • Shader    xtlang
  • ShaderProgram    xtlang
  • ShaderProgram    xtlang
  • ShaderProgram    xtlang
  • ShaderProgram    xtlang
  • ShaderProgram_create    xtlang
  • ShaderProgram_create    xtlang
  • ShaderProgram_create    xtlang
  • ShaderProgram_create    xtlang
  • ShaderProgram_print_info_log    xtlang
  • Shader_create    xtlang
  • Shader_id    xtlang
  • Shader_print_info_log    xtlang
  • Shader_type    xtlang
  • cerberus_filter_cc    xtlang
  • cerberus_filter_env_cc    xtlang
  • cerberus_get_filtertype    xtlang
  • convolution_c    xtlang
  • cpShapeFilterNew    xtlang
  • create_arrows_shader    xtlang
  • create_heatmap_shader    xtlang
  • create_particles_shader    xtlang
  • create_points_shader    xtlang
  • create_post_process_shader    xtlang
  • create_raymarcher_shader    xtlang
  • create_shader    xtlang
  • create_shader_xtm    xtlang
  • create_shadertoy_shader    xtlang
  • create_texture_shader    xtlang
  • create_triangle_shader    xtlang
  • create_triangle_shader    xtlang
  • curl_setup    xtlang
  • dl_filter1_frq    xtlang
  • dl_filter1_frq    xtlang
  • dl_filter1_frq_scale    xtlang
  • dl_filter1_frq_scale    xtlang
  • dl_filter1_res    xtlang
  • dl_filter1_res    xtlang
  • dl_filter1_type    xtlang
  • dl_filter1_type    xtlang
  • dl_filter2_frq    xtlang
  • dl_filter2_frq    xtlang
  • dl_filter2_frq_scale    xtlang
  • dl_filter2_frq_scale    xtlang
  • dl_filter2_res    xtlang
  • dl_filter2_res    xtlang
  • dl_filter2_type    xtlang
  • dl_filter2_type    xtlang
  • filter    scheme
  • filter    scheme
  • filter    xtlang
  • filter_cc    xtlang
  • filter_env_cc    xtlang
  • filter_input    xtlang
  • filter_inputs    xtlang
  • filter_lwork    xtlang
  • filter_output    xtlang
  • filter_outputs    xtlang
  • filter_prework    xtlang
  • filter_rate    xtlang
  • filter_work    xtlang
  • fragshader    scheme
  • get_filter_env    xtlang
  • get_filtertype    xtlang
  • ghttp_perform_request_with_setup_fn    xtlang
  • gl_setup    xtlang
  • impc:ir:genericfunc-type-setup    scheme
  • print_shader_info_log    xtlang
  • set_dl_filter    xtlang
  • set_filter    xtlang
  • set_filter_env    xtlang
  • shader_prepare_draw    xtlang
  • shader_prepare_draw    xtlang
  • shader_prepare_draw    xtlang
  • shader_prepare_draw    xtlang
  • shader_prepare_draw    xtlang
  • shader_set_grid_offsets    xtlang
  • shader_update_bones    xtlang
  • shader_update_camera    xtlang
  • shader_update_envmap    xtlang
  • shader_update_light    xtlang
  • shader_update_lights    xtlang
  • shader_update_material    xtlang
  • shader_update_material    xtlang
  • shader_update_material    xtlang
  • shader_update_matrices    xtlang
  • shader_update_matrices_lv    xtlang
  • shader_update_matrices_lvs    xtlang
  • shader_update_projection_texture    xtlang
  • shader_update_uvwmatrix    xtlang
  • shadertoy-loop    scheme
  • texture_setup    xtlang
  • vertshader    scheme
  • world_texture_setup    xtlang
  • xtm-setup-and-start-gl-loop    scheme
  • xtm_render_init_dof_shader    xtlang
  • xtm_render_init_light_shader    xtlang
  • xtm_render_init_quad_shader    xtlang
  • xtm_render_init_simple_bone_shader    xtlang
  • xtm_render_init_simple_shader    xtlang
  • xtm_render_init_skybox_shader    xtlang