![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
04-15-10, 11:27 AM
|
#1 |
|
Planesman
![]() Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
|
I fixed gradient lines by disabling visible nodes in sky environmental file. But that turned off stars, sun and moon but not their light reflexions and shafts. So I believe the problem has to do something with the lights or the 3d dome...
|
|
|
04-15-10, 11:45 AM
|
#2 | |
|
Sonar Guy
![]() Join Date: Dec 2007
Posts: 376
Downloads: 187
Uploads: 21
|
Quote:
![]() I did my sky work in "SkyPS_SH5" shader file, very experimental as I do not really know how to work with shaders. see here // 1. base gradient, from top to bottom float heightRatio = (pow(In.eyeDir.w / 992.0 , g_skyBottomColor.w)) * 1.3 ; color = lerp(g_skyBottomColor.rgb, g_skyTopColor.rgb,heightRatio); I added "* 1.3" hope you will have a better luck
__________________
SH
|
|
|
|
04-15-10, 12:00 PM
|
#3 | |
|
Planesman
![]() Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
|
Quote:
|
|
|
|
04-15-10, 12:47 PM
|
#4 |
|
Frogman
![]() Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
|
I am sure I asked about this in some other thread, but does anyone know if it is possible to use a real 16 or 32bit HDR texture as input?
As oppossed to the regular LDR 8bit textures. |
|
|
04-15-10, 01:05 PM
|
#5 |
|
Planesman
![]() Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
|
|
|
|
04-15-10, 01:10 PM
|
#6 |
|
Planesman
![]() Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
|
|
|
|
04-15-10, 01:21 PM
|
#7 |
|
Frogman
![]() Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
|
Does it matter? I can't imagine that that this coarse polygon mesh would cause the banding I've seen.
|
|
|
04-15-10, 01:04 PM
|
#8 | |
|
Pacific Aces Dev Team
![]() |
Quote:
SH5 used in contrast to his predecessors for the gradient not a texture. The pixel shader generates here a color for each pixel in dependence to his height in the sky. A linear interpolation ( lerp() ) between top and bottom color values is used. The input values comes from the EnvColor_???.cfg's
__________________
-- Vapor-ware is always easier to sell because there's no limit what it can do! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
