Snap Grid graphical weirdness in Editor unlit mode

New weirdness just started today, seeing noisy looking grid lines in the editor when using unlit mode. Appears when using grid size above 10.

Version 4.8.1. No changes to the system of any sort since yesterday. Tried restarting editor, restarting computer. Does not happen on a new test project.

Attached image is of a plain floor material. Also happens to all other surfaces when viewed at an angle showing the grid.

49793-weirdfloornoise.png

Pagan

Hey Pagan -

Can you look at the project that is showing this behavior and make sure to check the following:

  • Engine Scalability is set to EPIC
  • Material Quality Level is set to High
  • Preview Rendering Level is set to Shader Model 5

I have seen something like this before with the Experimental Metal/HighEnd Mobile Preview Rendering Level.

Also take a look at your ini files for the project in question and remove any r.*** variables out and open your project to see if that corrects the issue.

Thank You and let me know -

Eric Ketchum

Hi Eric,

The settings you mentioned were all set as you described.

When I reverted to the original DefaultEngine.ini it went away.

I can live with it as is, but if this is considered a bug and it would be helpful, I will be happy to figure out exactly which setting was causing it. Let me know if that is worth doing.

Thanks for your time,
Pagan

Hi -

So it does look like it was a particular console variable set in the DefaultEngine.ini file, do you happen have the version of that ini file before your reverted to the original. If you do can you post it here for us to look at?

Thank You

Eric Ketchum

The changes I made to DefaultEngine.ini are below. All but the first are additions to the original file. These came from a recommended article about optimizing for the Oculus Rift. Unfortunately I cannot find the link to the article at the moment or else I would include it.

r.SeparateTranslucency=0
r.HZBOcclusion=0
r.FinishCurrentFrame=1
r.MotionBlurQuality=0
r.PostProcessAAQuality=3
r.BloomQuality=1
r.EyeAdaptationQuality=0
r.AmbientOcclusionLevels=0
r.SSR.Quality=1
r.DepthOfFieldQuality=0
r.SceneColorFormat=2
r.SSSSS=0
r.TranslucencyVolumeBlur=0
r.TranslucencyLightingVolumeDim=4
r.MaxAnisotropy=8
r.LensFlareQuality=0
r.FastBlurThreshold=0
showflag.decals=0
r.SSR.MaxRoughness=0.1
r.compileshadersfordevelopment=0
r.rhicmdbypass=0
r.TiledReflectionEnvironmentMinimumCount=10

Hi Pagan -

Thank you for your help the console variable you will want to remove is the r.compileshadersfordevelopment=0. This console variable allows you to ship a game with more optimized shaders as some editor and development features are no longer compiled into the shaders. So the grid is rendering odd for you because its shader is not longer compiled correctly in the engine per your instructions via this console variable. It should only be used if you are packaging a shipping build of the game and are no longer developing.

Eric Ketchum

Thanks Eric!