Hi,
I am having a bizarre issue with a particular shader in my project.
I am using the DX 11 Grass Shader from Stix games, and I have posted in the relevant thread here:
[RELEASED] DirectX 11 Grass Shader page-29
But I am now thinking that the issue is more to do with Unity than with the shader.
Basically, the issue is that usually, in the build, and very rarely in the editor, there is a lighting/shadow glitch on Half of the shader. This is what it looks like in the build:
and here is the exact same scene, with the exact same conditions, in the editor:
You can see that in the first image, there is a noticeable shaded seam along half of the shader.
The things that confuse me the most about this are that it almost always only occurs in the build, and it only seems to occur when I load my game.
IE, when the player travels to a location, the grass looks fine, but when I save the game and load it, this occur is present.
I am completely stumped as to how to fix this.
I have tried:
Reimporting the grass shader asset
Updating the grass shader asset to the latest version
Recreating my materials from scratch
Removing all assets from my scene except for a camera, a directional light, and a plane with the grass shader on it (this is what that looks like: Imgur: The magic of the Internet)
Setting my camera to both deferred and forward mode
Trying both forward and deferred modes for the Dx 11 shader.
Has anyone seen this issue before,or anything like it? Or is there anything else that I could try to narrow down the issue? Maybe something that I could disable/enable in player settings?
Thanks!