Skip to content

Commit

Permalink
Update dependencies and README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Jul 30, 2024
1 parent 66f1f14 commit 45425ba
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 12 deletions.
Binary file modified MicroSplat.dll
Binary file not shown.
45 changes: 34 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OCB MicroSplat Shader Mod - 7 Days to Die (V1.0 exp) Addon
# OCB MicroSplat Shader Mod - 7 Days to Die (V1.0) Addon

Replacing vanilla terrain MicroSplat shader with an improved version.

Expand All @@ -22,6 +22,31 @@ Every download there helps me to buy stuff for mod development.
Otherwise please use one of the [official releases][2] here.
Only clone or download the repo if you know what you do!

## Creating texture atlas for MicroSplat

In order to use this mod, you need to pass it the required textures
in a compatible format. To ease this process, I've created a unity
tool that should help with that. Export the resulting texture2d
arrays and reference them in the worldglobal.xml. You may check
the [OcbMicroSplatOreVoxel][7] demo for a fully working example.

<img src="Screens/unity-array-packer.png" alt="Unity Helper" height="360"/>

Package: https://github.com/OCB7D2D/UnityMicroSplatArrayPacker.git#upm@master

### Demo Mods for advanced features

Check xml config and unity projects for these mods:

- https://github.com/OCB7D2D/OcbMicroSplatOreVoxels (Custom Ores)
- https://github.com/OCB7D2D/OcbMicroSplatTestBiomes (Custom Biomes)
- https://github.com/OCB7D2D/OcbMicroSplatSnow (Extend existing Biome)
- https://github.com/OCB7D2D/OcbMicroSplatRoads (Replace Textures)

### Helper Mods to adjust some settings in-game

Download from https://github.com/OCB7D2D/OcbMicroSplatHelper/releases

## MicroSplat Explanation for interested Modders

NOTE: Docs below are in a very poor first draft version!
Expand Down Expand Up @@ -237,20 +262,17 @@ Given that this info is hold at the vertex level, custom ores/voxels
are only rendered at detail terrain and not for distant terrain. That's
just how the shader works and certainly a good tradeoff for performance.

### Demo Mods for advanced features

Check xml config and unity projects for these mods:
## Changelog

- https://github.com/OCB7D2D/OcbMicroSplatOreVoxels (Custom Ores)
- https://github.com/OCB7D2D/OcbMicroSplatTestBiomes (Custom Biomes)
- https://github.com/OCB7D2D/OcbMicroSplatSnow (Extend existing Biome)
- https://github.com/OCB7D2D/OcbMicroSplatRoads (Replace Textures)
### Version 0.9.2

### Helper Mods to adjust some settings in-game
- Fix XML-Patcher for V1 compatibility
- Add emission and metallic texture support
- Remove obsolete metallic-per-texture setting

Download from https://github.com/OCB7D2D/OcbMicroSplatHelper/releases
### Version 0.9.1

## Changelog
- Fix potential NRE when unloading textures

### Version 0.9.0

Expand Down Expand Up @@ -329,3 +351,4 @@ Download from https://github.com/OCB7D2D/OcbMicroSplatHelper/releases
[4]: https://assetstore.unity.com/packages/tools/terrain/microsplat-96478
[5]: https://github.com/OCB7D2D/OcbMicroSplat/actions/workflows/ci.yml
[6]: https://github.com/OCB7D2D/OcbMicroSplat/actions/workflows/ci.yml/badge.svg
[7]: https://github.com/OCB7D2D/OcbMicroSplatOreVoxels
Binary file modified Resources/OcbMicroSplat.metal.unity3d
Binary file not shown.
Binary file modified Resources/OcbMicroSplat.unity3d
Binary file not shown.
Binary file added Screens/unity-array-packer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Unity/MicroSplatShader/Assets/OcbMicroSplat

0 comments on commit 45425ba

Please sign in to comment.