Does the new Low Poly Look module support already LWRP (with the MicroSplat LWRP module)?
And does the Low Poly Look and LWRP modules maybe support the Unity 2019.2 beta by any chance?
Does the new Low Poly Look module support already LWRP (with the MicroSplat LWRP module)?
And does the Low Poly Look and LWRP modules maybe support the Unity 2019.2 beta by any chance?
It works in LWRP, but I donât test in betasâŚ
Thanks, good to hear that thereâs already LWRP support.
Or has anybody else maybe tried MicroSplat in the Unity 2019.2 beta (LWRP)?
[Update] It seems that the 2019.2 just got out from beta today, so I assume 2019.2 support is coming soon
Hi Jason, I have twice now run across an issue with terrain blending, and I think I understand the source of the problem well enough to prevent future issues - maybe others here will benefit:
I use microSplat with Map Magic. In order to integrate them, I followed Denisâs guide, which shows a workflow that is not a conversion from an existing terrain - that is, he manually creates the Texture Array, adds a microsplat shader, and creates a new material for it.
In this case, he names his material differently from the shader, which leads to issues when the terrain blending code tries to make a blending material on compilation. See relevant code -
MicroSplatShaderGUI_Compiler.cs: 568
MicroSplatTerrainEditor_TerrainDesc.cs: 211
the compiler will create a âMicroSplat_TerrainObjectBlend.shaderâ but the TerrainEditor will look ( in my case ) first for a âPrimaryMaterial_TerrainObjectBlend.matâ, and failing that, will look for a âPrimaryMaterial_TerrainObjectBlend.shaderâ to use to create the material. It will fail, and there will be no material associated.
Proposed solution:
MicroSplatTerrainEditor_TerrainDesc.cs
216 //string shaderPath = path.Replace(â.matâ, â.shaderâ);
217 string shaderPath = AssetDatabase.GetAssetPath(bt.templateMaterial.shader);
218 shaderPath = shaderPath.Replace(â.shaderâ, â_TerrainObjectBlend.shaderâ);
maybe I am missing some implications here - it seems to work for me.
Yeah, I like that⌠Going to have it check for both just in caseâŚ
Hi Jason, undoing changes in material sliders seems to not update the effect, only values !
Could you please check this and fix if possible. Thanks !
Got a couple more requests !
Prevent microsplat from creating new layers for each added texture in case the terrain has already added a layer with same textures ( if terrain has a layer based on an albedo and normal map, a new layer is still being created )
Being able to load textures based on an existing layer - may be drag and drop a layer into a MicroSplatConfig slot and use that layer as well to add it to the terrain. Got so many copies of the same layers now because we are relaying on many terrains for different levels. Could this get optimized ?
Thank you !
Hello
I wany to buy and use only the triplanar shader. Iâm working in lwrp, i have to but microsplat lwrp version and then triplanar shader or just one of these?
Thanks for help.
Youâd need both.
Yes, Iâm using Microsplat LWRP in 2019.2 and looks great. Running on iOS in metal.
Hereâs a render using LWRP. Microsplat + Crest + Massive Clouds, all supporting LWRP for some amazing volumetric nuance that runs well on iOS (modern devices.) Particularly loving the subtle color variations in the ocean.
Update: Due to 2019.2 and a high amount of bloat with my terrains tools and messy terrain updates I have decided to leave all terrain related stuff behind for now but Iâll leave these issues here for you in case any other users reports them.
Hi!
I am using last version of MicroSplat (2.65) and Unity 2019.1.10.
Everything works in editor, but in build crashes.
I create terrain from script, when I add MicroSplatTerrain script to it and call MicroSplatTerrain.SyncAll() the error occurs in MicroSplatTerrain.Sync() at the line
if (keywordSO.IsKeywordEnabled(â_CUSTOMSPLATTEXTURESâ))
because keywordSO is null.
The old version of MicroSplat (cannot remember exactly, maybe 2.2) worked fine
If your creating terrain from script youâll have to assign the keyword object as well. It didnât exist in 2.2, as I used unityâs shader keyword system instead, but using my own system allows for unlimited keywords.
Thank you for reply. Yes, it works.
Sorry for my Bad English. Work the Tesselation on LWRP with the LWRP Addon from Microsplat ?
Or work only LWRP Addon with the Core ?
It did, but it looks like the newest LWRP breaks it so Iâm working on a fix.
@jbooth_1
LWRP was deprecated in Unity 2019.3 in favor of URP which basically uses the same sources moved to a new package. I had to replace all occurrences of âcom.unity.render-pipelines.lightweightâ with âcom.unity.render-pipelines.universalâ to make MicroSplat LWRP being compatible with URP.
Yeah, but as 2019.3 is in alpha it doesnât seem like the right time to do that upgrade. Not exactly the âstableâ pipeline they promised.