Skip to content

IncreasedTerrainDistanceMod and ReflectionsMod#2

Merged
Interkarma merged 3 commits intoInterkarma:work-in-progressfrom
Nystul-the-Magician:work-in-progress
Oct 27, 2015
Merged

IncreasedTerrainDistanceMod and ReflectionsMod#2
Interkarma merged 3 commits intoInterkarma:work-in-progressfrom
Nystul-the-Magician:work-in-progress

Conversation

@Nystul-the-Magician
Copy link
Copy Markdown
Contributor

  • added IncreasedTerrainDistanceMod
  • added ReflectionsMod
  • changed MaterialReader class: added function SetCachedMaterial(): this function is used to update materials with new/modified materials
  • added a new unity scene (Scenes/DaggerfallUnityGame_withMods.unity) with mods enabled: EnhancedSky mod, IncreasedTerrainDistanceMod, ReflectionsMod

don't forget to define a "WorldTerrain" layer in Project Settings -> Tags and Layers
known issues: activated fog in conjunction with globalfog only works correctly on main camera

* added ReflectionsMod
* changed MaterialReader class: added function SetCachedMaterial(): this function is used to update materials with new/modified materials
* added a new unity scene (Scenes/DaggerfallUnityGame_withMods.unity) with mods enabled: EnhancedSky mod, IncreasedTerrainDistanceMod, ReflectionsMod
* added ReflectionsMod
* changed MaterialReader class: added function SetCachedMaterial(): this function is used to update materials with new/modified materials
* added a new unity scene (Scenes/DaggerfallUnityGame_withMods.unity) with mods enabled: EnhancedSky mod, IncreasedTerrainDistanceMod, ReflectionsMod
@Nystul-the-Magician
Copy link
Copy Markdown
Contributor Author

ok actually I forgot to add all the new files - my bad...
this should be all files hopefully now

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change this to be assigned using event DaggerfallUnity.OnSetTerrainSampler. Also should check if mod is enabled at startup using DaggerfallUnity.Settings.Nystul_IncreasedTerrainDistance flag.

DaggerfallUnity.OnSetTerrainSampler event is now the trigger for setting the ImprovedTerrainSampler

IncreasedTerrainDistanceMod and ReflectionsMod evaluate the planned boolean flags for their activation

Scenes/DaggerfallUnityGame_withMods.unity: IncreasedTerrainDistanceMod and ReflectionsMod gameobjects are now children of a container gameobject called mods (this is to show that their "spawning" prefab can arranged in the scene hierarchy as you like)
Interkarma added a commit that referenced this pull request Oct 27, 2015
IncreasedTerrainDistanceMod and ReflectionsMod
@Interkarma Interkarma merged commit d50eb39 into Interkarma:work-in-progress Oct 27, 2015
Nystul-the-Magician added a commit to Nystul-the-Magician/daggerfall-unity that referenced this pull request Sep 18, 2016
Interkarma pushed a commit that referenced this pull request Mar 13, 2018
First pass complete
rossipaolo pushed a commit to rossipaolo/daggerfall-unity that referenced this pull request Apr 14, 2018
First pass complete
Interkarma pushed a commit that referenced this pull request Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants