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

Custom uniforms of type vec4 are not allowed

Open Limeth opened this issue 5 years ago • 1 comments

The behavior should mimic the behavior of float4.

Limeth avatar May 09 '20 22:05 Limeth

This bug originates within the OBS source code. It seems like uniform types are not parsed properly based on whether OpenGL is used, and the parsing probably occurs before the transpilation from HLSL to GLSL. As a workaround, use float4 instead.

Limeth avatar Nov 25 '20 17:11 Limeth