Skip to content

OCB7D2D/OcbPrettyGrass

Repository files navigation

OCB Grass Shader Mod - 7 Days to Die (V1.0) Addon

Replaces original Grass Shader (Game/SwayingGrass Surface) with a new one that supports real-time shading (e.g. point lights). The original shader only seems to allow shadows from the main directional light (aka the sun). Therefore this mod mostly shines at night (pun intended). Most obvious improvements is close to houses that have lights inside. Grass behind walls will still be illuminated as if the wall wasn't there.

Additionally this mod also enables shadow casting for grass if terrain quality is at least set to "high". On lowest, all shadows (casting and receiving) are disabled. Of course this does strain the GPU a little more, but on my machine the FPS drop is barely noticeable (57 to 55 on GTX 1070 ti @ 2K).

Grass with new shader

It also includes a small part from my OcbCrookedDeco mod. The grass will get more random, with varying heights, rotation and also how many "blades" are rendered. Of course both mods should work together without a problem.

GitHub CI Compile Status

Download and Install

End-Users are encouraged to download my mods from NexusMods.
Every download there helps me to buy stuff for mod development.

Otherwise please use one of the official releases here.
Only clone or download the repo if you know what you do!

Changelog

Version 0.5.0

  • Update for 7D2D V2.1 stable

Version 0.4.0

  • Added Motion Vector Pass
  • For temporal anti-aliasing
  • Compiled for V1.2 stable (b27)

Version 0.3.2

  • Recompile for V1.0 stable (b333)

Version 0.3.1

  • Fix parameter for wind speed and time

Version 0.3.0

  • First compatibility with V1.0 (exp)
  • Bumped unity version to 2022.3.29f1

Version 0.2.2

  • Backport improvements from OcbCrookedDeco mod:
  • Fix issue with short grass being to "pointy"
  • Avoid re-randomization when ground is damaged

Version 0.2.1

  • Fix issue/compatibility with OcbCrookedDeco
  • No longer randomizing Grass and Plants twice
  • Add Metal shader variant for MacOSX
  • Disable plant-shrub billboard LOD

Version 0.2.0

  • Update compatibility for 7D2D A21.0(b313)

Version 0.1.3

  • Fix issue when added to dedicated server

Version 0.1.2

  • Automated deployment and release packaging

Version 0.1.1

  • Fix index out of bound error (@s7092910)

Version 0.1.0

  • Initial version

About

OCB Better Grass Mod - 7 Days to Die (A21) Addon (Needs EAC off)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors