F.2 Unity Editor Tricks

Updated 3 months ago

Replicating the base game shader into the Editor

Comparison Before and After:
Before image of Oxyde After image of Oxyde

The way to accomplish this is very simple.
First, download and use this UnityPackage, it contains the base-game replica shader by Scoops from the mod LethalSponge and also their CustomPass that we will use.

Now, in any scene of your liking, create a new gameObject at the root of the scene, name it whatever, but the following is absolutely necessary.
Give it the EditorOnly tag, which would be the 4th tag in the tags list.
Now add the component CustomPass, press the + sign and find the SpongeNewCustomPass option and click that.
From there, make sure your settings match mine here:
Settings of CustomPass

Note that this won't replicate base-game 100% but it is much much better than the default (and it isn't super noticeable difference anyway).
Thanks again to Scoops for the help and guidance in settings this up (plus the fact that this is using their shader and script lol).

Disabling/Enabling Motion Blur onto your Items/Objects

Go to the Renderer component, whether it's a MeshRenderer or SkinnedMeshRenderer, press the dropdown for Additional Settings and turn Motion Vectors to Per Object Motion to remove Motion Blur or Camera Motion Only to be affected by the player camera's movement.
Motion Blur Renderer Settings
If your Renderer is already on Per Object Motion and it's still doing the Motion Blur effect, it is likely because you have not built your assetbundles for the Renderer from V73 to V81+

Re-enabling the Swaying Grass shader for the Editor

Fumo remade the shader blah blah
import it into your project blah blah
Here's the link: UnityPackage