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 05-14-11, 08:40 PM   #33
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Did a lot of testing today with the alpha channel of the _Oxx maps. I've concluded that the alpha channel is like the specular intensity factor. If I make that alpha channel black (0x00000000) I get no specular reflections from sunlight. If I make it white (0xFFFFFFFF) I get amazing specular reflections.

Still playing with the alpha channel of the _Txx maps.

These shaders are responsible for the rendering of the _Oxx map:
\data\Shaders\UnifiedRender\URTex2PLightSMPS controls rendering from long distances (>= LowLODDistance)
\data\Shaders\UnifiedRender\URTex2PLightSMNMPS controls rendering from close distances (< LowLODDistance)

If you look at the alpha channel of the SH4 _Oxx maps you'll notice that they have NOTHING to do with the RGB channels. Recommend either deleting that alpha channel or setting it to some shade of white.

Adding/Removing alpha channel from the _Txx maps appears to have no effect on final rendering.

Last edited by TheDarkWraith; 05-14-11 at 08:56 PM.
TheDarkWraith 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:52 PM.


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