Material Editor: Failed to cast float4 to float3 when using Vector parameter

The Scene Texture outputs Color as a float4, you need to use a component mask and get only the RGB channels. Alternatively, you can append the alpha of your outline color to the RGB

2 Likes