Skip to content

Commit

Permalink
Add displacements & planer mapping support (#29)
Browse files Browse the repository at this point in the history
* Add displacement support to the base material.

* Refactor MF_OL_Layer for further customizations

Now we can understand what's going on here easily. So, this will help us to plug our new Material Base.

* Using our new Base Material for the landscape layer.

* Added displacement support for the landscape.

* Added missing files.

* Introduce edge displacement overrides

So now, we won't see any artifacts in between auto layer materials.

* Added tri planer support.

* Reduce the Tesselation factor on far distance.

This will reduce the frame rate drop dramatically.

* Add some performance improvements for planer mapping

Now, we no longer do planer mapping on the distance.
We do this by introducing it's own tiling parameters for planer mapping.
So, we can do the planer mapping & basic mapping at the same time.

* Add parallax support.

* Change some tiling options.

* Use the new layer for Mid

* Use new layer for all textures in auto layer

* Updated the default theme.

* Upgraded everything to use the new layer.

* Updated the Rock Material.

* Remove displacements from the default settings.

* Fix texture sampling issues

Uses BC1 (DXT1) for all color (with sRGB) & BC4 for other grayscale maps.

* Update the map.

* Update the mobile map

* Update mobile map lighting

* Improve mobile map's performance.

* Improved mobile performance in the mobile map.

* Updated Perf Tools.

* Finalized mobile support.

* Update DefaultEngine.ini

* Updated fog.

* Updated new base material & the rock material.

* Add slope displacements.

* Added displacement support for slope

* Finished migrating layers.

* Updated all the materials to new changes.

* Updated textures.

* Update maps.
  • Loading branch information
arunoda committed Apr 19, 2021
1 parent 724ec2f commit dbb909b
Show file tree
Hide file tree
Showing 75 changed files with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions OpenLand/Config/DefaultEngine.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,23 @@ AppliedDefaultGraphicsPerformance=Maximum
+ActiveGameNameRedirects=(OldGameName="/Script/TP_ThirdPersonBP",NewGameName="/Script/Demo")

[/Script/Engine.RendererSettings]
r.SupportSkyAtmosphereAffectsHeightFog=False
r.SupportSkyAtmosphereAffectsHeightFog=True
r.VirtualTextures=True
r.Shadow.CSM.MaxMobileCascades=1
r.AllowOcclusionQueries=True
r.Mobile.AllowSoftwareOcclusion=False
r.SupportStationarySkylight=False
r.SupportLowQualityLightmaps=False
r.SupportLowQualityLightmaps=True
r.SupportPointLightWholeSceneShadows=False
r.SupportAtmosphericFog=False
r.SupportAtmosphericFog=True
r.SupportSkyAtmosphere=True
r.Mobile.EnableStaticAndCSMShadowReceivers=False
r.Mobile.AllowDistanceFieldShadows=False
r.Mobile.AllowMovableDirectionalLights=False
r.MobileDynamicPointLightsUseStaticBranch=False
r.Mobile.EnableStaticAndCSMShadowReceivers=True
r.Mobile.AllowDistanceFieldShadows=True
r.Mobile.AllowMovableDirectionalLights=True
r.MobileDynamicPointLightsUseStaticBranch=True
r.Mobile.EnableMovableSpotlights=True
r.Mobile.EnableMovableSpotlightsShadow=True
r.Mobile.DisableVertexFog=False

[/Script/AndroidRuntimeSettings.AndroidRuntimeSettings]
PackageName=com.gamedev4k.openland
Expand Down
Loading

0 comments on commit dbb909b

Please sign in to comment.