Upgraded the Sky Dome to a Sky Sphere, adjusted the textures and merged the UnderwaterGround texture into the regular Underwater texture

This commit is contained in:
JappaWakka 2022-01-28 16:52:30 +01:00
parent 14d4bc5ea2
commit b170071bf7
11 changed files with 10471 additions and 14703 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 976 B

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1002 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 771 B

After

Width:  |  Height:  |  Size: 902 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 830 B

After

Width:  |  Height:  |  Size: 956 B

View File

@ -23998,9 +23998,6 @@
<Content Include="Content\SkyDomeResource\Underwater.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Content\SkyDomeResource\UnderwaterGround.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Content\Sounds\Battle\exp_max.wav">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>

View File

@ -63,9 +63,9 @@
If Screen.Level.World.EnvironmentType = World.EnvironmentTypes.Outside Then
If World.GetWeatherFromWeatherType(Screen.Level.WeatherType) <> World.Weathers.Fog Then ' Don't render the sky if the weather is set to Fog.
RenderHalf(FOV, Yaw, 0.0F, True, GetSkyTexture(), 16, 1.0F) ' Draw the sky
RenderHalf(FOV, MathHelper.TwoPi, 0.0F, True, TextureDown, 14, GetStarsAlpha()) ' Draw the stars.
RenderHalf(FOV, MathHelper.TwoPi, 0.0F, True, TextureSun, 12, GetSunAlpha()) ' Draw the Sun.
RenderHalf(FOV, MathHelper.TwoPi, 0.0F, True, TextureMoon, 12, GetMoonAlpha()) ' Draw the Moon.
RenderHalf(FOV, MathHelper.TwoPi, 0.0F, True, TextureDown, 13, GetStarsAlpha()) ' Draw the stars.
RenderHalf(FOV, MathHelper.TwoPi, 0.0F, True, TextureSun, 11, GetSunAlpha()) ' Draw the Sun.
RenderHalf(FOV, MathHelper.TwoPi, 0.0F, True, TextureMoon, 11, GetMoonAlpha()) ' Draw the Moon.
RenderHalf(FOV, MathHelper.TwoPi - Yaw, 0.0F, True, GetCloudsTexture(), 8, GetCloudAlpha) ' Draw the clouds.
End If
Else

View File

@ -611,7 +611,7 @@ endsub:
Core.BackgroundColor = GetWeatherBackgroundColor(New Color(40, 88, 128))
Screen.Effect.FogColor = Core.BackgroundColor.ToVector3()
Screen.SkyDome.TextureUp = TextureManager.GetTexture("SkyDomeResource\Underwater")
Screen.SkyDome.TextureDown = TextureManager.GetTexture("SkyDomeResource\UnderwaterGround")
Screen.SkyDome.TextureDown = Nothing
Case EnvironmentTypes.Forest
Core.BackgroundColor = GetWeatherBackgroundColor(New Color(48, 80, 48))
Screen.Effect.FogColor = Core.BackgroundColor.ToVector3()

View File

@ -278,8 +278,8 @@
/processorParam:TextureFormat=Compressed
/build:Models/truck2/Truck.obj
#begin SkyDomeResource/SkyDome.x
/importer:XImporter
#begin SkyDomeResource/SkyDome.obj
/importer:FbxImporter
/processor:ModelProcessor
/processorParam:ColorKeyColor=0,0,0,0
/processorParam:ColorKeyEnabled=True
@ -295,5 +295,5 @@
/processorParam:Scale=1
/processorParam:SwapWindingOrder=False
/processorParam:TextureFormat=Color
/build:SkyDomeResource/SkyDome.x
/build:SkyDomeResource/SkyDome.obj

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -75,7 +75,7 @@
<None Include="Content\Models\Snorlax\Textures\kabigon_1_4.tga" />
<None Include="Content\Models\truck2\Truck.mtl" />
<None Include="Content\Models\truck2\Truck.obj" />
<None Include="Content\SkyDomeResource\SkyDome.x" />
<None Include="Content\SkyDomeResource\SkyDome.obj" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>