![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
05-14-11, 08:40 PM
|
#1 |
|
Black Magic
![]() |
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. |
|
|
05-14-11, 09:13 PM
|
#2 | |
|
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
Quote:
Edit: Yup, just tested it, removing the alpha channel altogether looks just like if you set the image to full opacity.
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
|
|
|
05-14-11, 09:18 PM
|
#3 |
|
Black Magic
![]() |
Just deleting the alpha channel though doesn't look correct when sun is low on horizon. The specular reflections are way too strong. I think a color of medium white (alpha of 0x7F) is a good balance.
|
|
|
05-14-11, 09:29 PM
|
#4 |
|
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
TDW, could you please send me the Oxx map for the NMFMPC after you have done this?
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
|
|
05-14-11, 09:37 PM
|
#5 |
|
Black Magic
![]() |
|
|
|
05-14-11, 09:41 PM
|
#6 |
|
The Old Man
![]() Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
|
I have the NKMCS_Akita.
__________________
![]() He sank 198,650 tons....who you ask?....Erich Topp, that's who! |
|
|
05-14-11, 09:49 PM
|
#7 |
|
Black Magic
![]() |
|
|
|
05-14-11, 10:00 PM
|
#8 | |
|
Sparky
![]() Join Date: Mar 2008
Location: Spain
Posts: 154
Downloads: 384
Uploads: 7
|
Quote:
Whats the color of the texture? specular maps in very white textures reacts more shinier than in darker ones (the light intensity affects too), probably you need to find good balance (rgb grey scale). If the model comes with shadow maps, you can try adjusting white input to be darker, so all de model will take darker tone, lowering lightness of the diffuse will help too. Bye !!
__________________
http://www.subsim.com/radioroom/album.php?u=239334 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
