-
-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Shader API causes artifacts #1146
Comments
Looks like this is affected by MSAA. Do you have MSAA enabled? |
I am not using MSAA currently. However enabling it and enabling the shader API also does not trigger artifacts in my environment. I only saw that in the main scene at the last minute so I have not really investigated. |
MSAA is active for the Main scene and disabling it removes it. The scene view does not support MSAA so will not exhibit the issue. And MSAA can be difficult to enable sometimes. |
That sounds accurate to me. I am using separate anti-aliasing so it is a non issue. MSAA causes problems with other things that are not related to the ocean shader as well, though I don't remember specific examples. To confirm though, it does happen at runtime, and the artifact line will move as you adjust Depth Fog Density Factor, but only with Enable Shader API on. |
Is there an existing issue for this?
Have you checked the documentation to resolve your problem?
Current Behavior
When you tick "Enable Shader API" in the main scene, line artifacts can be seen on the horizon underwater through the fog. Sometimes this requires moving the camera around a bit.
Expected Behavior
Enabling the Shader API should not create artifacts.
Steps To Reproduce
Unity Version
2021.3.26
Crest Version
4.19
Render Pipeline
Built-In
Editor or Standalone
Editor (Edit Mode), Editor (Play Mode), Standalone
Environment
No response
Anything else?
This issue may be related to: #1145
The text was updated successfully, but these errors were encountered: