obs-shaderfilter-plus icon indicating copy to clipboard operation
obs-shaderfilter-plus copied to clipboard

Add vertex shader support

Open Limeth opened this issue 5 years ago • 0 comments

As discussed in this PR, it would be desirable to add a proper way to specify entry points for the vertex stage. The mentioned PR successfully shadows the definition of builtin_shader_vertex from the template. Maybe we could abuse this technique to provide a more user-friendly way to optionally specify the logic for the vertex stage:

void vertex(inout float4 vertex, inout float2 uv)

Limeth avatar Dec 12 '20 01:12 Limeth