View Single Post
Old 04-09-10, 07:28 AM   #8
Seeadler
Pacific Aces Dev Team
 
Join Date: Mar 2001
Location: Northern Germany
Posts: 1,096
Downloads: 169
Uploads: 0


Default

Quote:
Originally Posted by Drifter View Post
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);
__________________
--
Vapor-ware is always easier to sell because there's no limit what it can do!
Seeadler is offline   Reply With Quote