"error X4545: vs_2_0 target does not support texture lookups"
This is the part of my code that triggers the error (and I was careful not to have any pixels set to 0):
float4 amplitudeColor = tex2D(AmplitudeTextureSampler, inTexCoords2); float amplitudePerMap = 255 / amplitudeColor.b; input.Position.y = amplitudePerMap * sin(theta * freq + time * phase);
Further down I have this:
technique Technique1
{
pass Pass1
{
// TODO: set renderstates here.
VertexShader = compile vs_2_0 VertexShaderFunction();
PixelShader = compile ps_2_0 PixelShaderFunction();
}
}
Is there any way around this?






