Quote:
Originally Posted by Drifter
Seems like the map color changes to a lighter blue when near enemy escorts.
|
Don't delete the whole pixel shader content, a pixel shader file must returned a float4 color value for each pixel which is to be rendered on the screen
Only set the circle.z value to zero in SensorVisual.fx
Code:
float insidecircle = step(length(texC.xy*texsize.xy - circle.xy), 0 /*circle.z*/);
and circle.z + circle.w in SensoSonar.fx
Code:
float inside = step(radius,0 /*circle.z*/) * step(0 /*circle.w*/, radius);