Closed useobjc closed 4 months ago
I have the same problem.
Hi. There is some problem with sending VignetteUniform to the Vignette shader. To quick fix and run sample you can change Vignette.metal file.
typedef struct {
float3 vignetteCenter;
float3 vignetteColor;
float vignetteStart;
float vignetteEnd;
float2 junk_padding; # <-- Add this line
} VignetteUniform;
This should be fixed as of #91
Reproduce step:
Then, app will crash with next exception: