Upgraded the Sky Dome to a Sky Sphere, adjusted the textures and merged the UnderwaterGround texture into the regular Underwater texture
Before Width: | Height: | Size: 976 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1002 B |
Before Width: | Height: | Size: 771 B After Width: | Height: | Size: 902 B |
Before Width: | Height: | Size: 830 B After Width: | Height: | Size: 956 B |
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|