🔳Outline System Pro – 📦v1.4.0 Update – “🌀REALIddY = Virtue”

New! 🔳Outline System Pro – 🎬Opening Logo featuring 🧙‍♂️Tim-∑ the ∑nchanter!

📦v1.4.0 – “🌀REALIddY = Virtue”

∑ Summation of the most important changes:

🖥️Scale With Screen Size!

New 🖥️Scale With Screen Size and 💻Reference Resolution properties for reference resolution relative 🔳OutlineThickness and💠📏DitherScale are added.

This will make it easier to keep the thickness of outlines and scale of effects like dither look consistent across different resolutions.

All the Renderer Features now have a 🖥️Scale With Screen Size Boolean which can be enabled and a 💻Reference Resolution which can be configured:

When 🖥️Scale With Screen Size is enabled, all the shaders that use a Screen-Space 🔳OutlineThickness will automatically be scaled proportionally by the Renderer Feature. As you can see in the images below, which are in 1080p and in 4K, there is no difference in the thickness of the outlines anymore when switching between the two:

The default Reference Resolution is set to 1080p which is a good default for the most common wide screen resolutions used these days, like 1080p Full HD and 2160p 4K, and in the future when there are more 8K screens (🛐) it can just be doubled up to 2160p.


🪙Tip: For square screens and images it is better to set the Reference Resolution to something like 1024 or 2048 to have the 🔳OutlineThickness scale the most reliably.

🌲Better Tree and 🌼Flower 🎭Masking

🎭Mask shaders are updated to render both front and back faces now so that even thin single-sided geometry like tree leaves and flower pedals are fully masked:

Without masking both sides, some parts of the tree branches, where the back of the geometry is facing the camera, won’t get masked.
When both sides are masked, all branches will be outlined, even the ones not facing the camera. Neat!

🔄️ Easier swapping of Universal Render Pipeline Assets for viewing the DemoScenes Outlines

🔘Buttons are added to the 🔧CheckAssignedRenderPipelineAsset Component in the DemoScenes for setting the Default Render Pipeline in the Project Settings, so you now only have to press the Set URPAsset To Default in Graphics Settings button on the 🔧CheckAssignedRenderPipelineAsset Component in the Inspector to enable the required URPAsset for the DemoScenes and Buttons to simply open the Project Settings window on the Graphics or Quality tab quickly, are also added:

For the Editor buttons, a Custom Editor script (CheckAssignedRenderPipelineAssetEditor.cs) was added to the 📂OutlineSystem/Samples/Editor folder of the package, so if you’re interested in how those work then have a look in there.

And if you do a lot of 🎪Scene switching like me, then you can use the 🔧✅CheckAssignedRenderPipelineAsset Component in your own 🎪Scenes as well, to quickly swap back to your own URPAsset , when done viewing the outlines in the DemoScenes!

New in Box!📦: New 🎦Full-Screen 🌊JFA 💓Distance Field 🌐Contour Outlines!

A new `🎦Full Screen` `🕵️Edge Detection` `🌊Jump Flood Algorithm` `💓Distance-Field` `🌐Contour` `🎭Mask` shader is added to Pro/Mask folder of the package,
(Pro-Msk-JFA-UVSeedsTextureMask-FS-Edge_Outside.shadergraph),
for 🌐Contour Distance-Field outlines on the entire Scene’s Color, Depth and or Normals, without needing to put the 🔳Outline3D component on the geometry, so it’s great for just rendering 💓Distance Field 🌐Contour lines onto anything in the scene!:

Here the Pro-Msk-JFA-UVSeedsTextureMask-FS-Edge_Outside.shadergraph is used together with the Pro-Cmp-Cntr-JFA-UVDistanceField-Default.shadergraph to generate thick soft glowing Jump Flood Algorithm Distance Field Contour edges based on the Depth and Normals of the Scene.


You can use the new 🌊JFA 🏞️Outside 🎭Mask shader in combination with one of the ⭐⭐⭐⭐Pro 🖼️Composite 🌊JFA 💓Distance Field 🌐Contour shaders, to generate the type of outlines that you can see in the images blow:

🪙Tip: The 🎦FullScreen 🌱Seeds 🎭Mask shader also picks up the normals of the textures in the 🎪Scene, so if you want for instance 🌐Contour lines on the full surfaces of rocks, bricks, stones, and walls etcetera, instead of only at the edges of the geometry, then make sure to add a normal map texture to those materials!

🪙Tip:🪙Tip: You can let Uniddy generate a normal-map from any texture for you, via the Import Settings, but make sure that it looks really really soft, because the 🟦Normals edge detection works much better on very soft/smooth/not-noisy looking normals/📐angles maps.

🍷❌🐣New Super-Duper-Surface-Stable-Object-Space-Crosshatch Shader!


I added a New (🌋Experimental) ⭐⭐⭐Advanced 🖼️Composite 🐦‍🔥Hybrid 🔳Outline3D 🟧Object-Space (or World-Space) ❌Crosshatch 🔲Overlay shader to the 📁Adv/Composite/Experimental shaders folder.

This 🎁New in Box! ❌Crosshatch shader can project crosshatch lines onto 🔳Outline3D objects in their own Object-Space, so textures will stick better to the surface, even when the objects are in motion.

The shader draws cross hatches on the full surfaces of objects, depending on the brightness at that spot, and can also draw extra cross hatches along the 🌐Contour edges detected by the ✂️ScharrXY 🕵️Edge Detection algorithm. All in glorious 🧛Shader Graph!

Keep in mind that, at this time, the scale of the crosshatches, in 🔳Outline3D Object-Space, is relative to the scale of the geometry’s Transform, so objects that are scaled up or down will get bigger/smaller sized crosshatches.

For now the shader is filed under 📁Adv/Composite/Experimental, because it will probably still undergo some changes, but since I already use it for my own dear images I just can’t keep it from you any longer..🫶

The shader can be used with the ⭐⭐⭐Advanced or higher tier `🧑‍🎨Outline3DRenderFeatures` and is light enough to mix, layer and blend in all kinds of cool ways with the other shaders, when using the 🧑‍🎨Outline3DRenderFeatureHyper:

Here the new Crosshatch shader is used together with the new JFA Full-Screen Distance-Field shader to create this really nice, sharp, and inky looking effect. By using the Crosshatch shader in Object-Space for instance for the car, the crosshatches will stick to the surface when it’s driving and will only change depending on the brightness.

☃️🧹Mini Winter Micro Cleaning:

I began cleaning up and refactoring a whole bunch of 🧛Shader Graphs and 🩸Shader Sub-Graphs, and got rid of a whole lot of those sneaky little redirect nodes that make editing the graph slow like a 🐌snail on a salt plane, when there are just a little too many of them, and I only kept the most useful ones, so modifying the 🧛Shader Graphs will hopefully be a little bit less dramatically slow now.

🐰That’s the most of it! (but not all)
These were the most important changes for this round of applause!

👏👏👏

🐇 You can find the full list of little-big-small changes made for the 📦v1.4.0 update in the 🔳Outline System ✒️Documentation 📝Changelog.

And again like last time, there are still a lot of details that still need to be further worked out, but now that that resolution relative outline thickness and dither scale thing is a real thing and out of the idea funnel, I can worry less about toggling thicknesses for all the different images that I want to make with it, and more on making those images and on perfecting the actual shaders!

🍻Cheers, Have fun mixing outlines, and until next time!⌛

🧙‍♂️Tim-∑