As the tittle says, I have a landscape material that uses POM that I am looking for help optimizing the performance with. I am fairly new to making materials. The reason I am looking at using POM is because I am working in dx 12 and I am using engine 4.22.1. The material is an auto material with some extra layers to “override” the auto layer. I have all of my samplers set to shared wrap. While the material is compiling, and the POM looks great, I am having a hard time getting good performance. Even with the POM turned off, I am still getting around 30-40 ms in fullscreen. I am using Cinematic Quality, which oddly enough is giving better performance than Epic quality. Additionally, even though I was using forward rendering when I started making the material, after switching off of it to check performance, when I switch back to forward rendering I am experiencing dx 12 related crashes. Any help with fixing my material would be greatly appreciated!
Here is the Material Layer function that I created:
Here is the full material:
In addition, I tried blending out the POM from a distance, but I think that is making things worse. For textures, I am using 4k diffuse and normal with 2k everything else, except layer 6, where I am using an 8k height texture. Again, any help would be greatly appreciated! Thanks!
PS. Here is what it looks like