Open zed9h opened 5 years ago
If I have a shader like this:
float4 mainImage(VertData v_in) : TARGET { return float4( image.Sample(textureSampler, v_in.uv * float2(0.5,1)).rgb, image.Sample(textureSampler, v_in.uv * float2(0.5,1) + float2(0.5,0)).r ); }
the output should be half the size, but the shader is computing the full size, just to be resized by a transform afterwards.
Good suggestion, and probably not too hard to add. I'd just need to come up with a way to add this option without cluttering the options more than they already are.
If I have a shader like this:
the output should be half the size, but the shader is computing the full size, just to be resized by a transform afterwards.