SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 02:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.