Hi there, and by advance thanks for helping me with my question <3
I'm working on a plugin and I would like to apply more than one shader on a source, for optimizations purposes.
What I'm trying to do is to apply a first shader on the source, and get the resulting texture but not draw it.
Then I would use this texture in a second shader, using both the source texture AND the intermediate texture on it.
I tried to use obs_source_process_filter_begin_with_color_space, obs_source_process_filter_end and gs_texrender_get_texture but it gives me a blank screen.
I can't find any example that does that. Can anyone help with an example ?
Thank you VERY much !
I'm working on a plugin and I would like to apply more than one shader on a source, for optimizations purposes.
What I'm trying to do is to apply a first shader on the source, and get the resulting texture but not draw it.
Then I would use this texture in a second shader, using both the source texture AND the intermediate texture on it.
I tried to use obs_source_process_filter_begin_with_color_space, obs_source_process_filter_end and gs_texrender_get_texture but it gives me a blank screen.
I can't find any example that does that. Can anyone help with an example ?
Thank you VERY much !