The datatype I would like to have in the shader is a single float, not a float4. When I simply pass a float as input however the shader receives it as a float4. So I was trying to follow the advice in this post [url]New Cg shader inputs]. The shader still received this as a float2 for some reason, but I thought that was a bit better at least.
Now that format stopped working for me. Is there a way to input individual floats?