Outline 3d

An asset by ualac
The page banner background of a mountain and forest
Outline 3d hero image

Quick Information

0 ratings
Outline 3d icon image
ualac
Outline 3d

An example that creates single-pixel outlines around selective 3d geometry.This implementation uses viewport rendering to produce an image of geometry added to a specific cull mask layer. This viewport texture is then applied with a shader on a screen filling quad to produce a single pixel-perfect outline.Nodes within the scene are commented with useful information about how the setup works.

Supported Engine Version
3.4
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

godot-outline3d

viewport based 3d object outline example

The Viewport in the scene contains a camera with a specific cull mask set, meaning it will only render objects assigned to that layer. The resulting texture is fed into a screen covering quad mesh with a shader that samples it to produce a single pixel outline.

To make an object appear with an outline assign it to the same cull mask layer. This is performed in the Outline3D script at the top-level which will randomly assign objects to the outline layer when spacebar is pressed.

Information about the nodes and specific setup requirements has been added as node comments in the scene. Hovering over the nodes in the scene tree will display these comments in tooltip form.

An example that creates single-pixel outlines around selective 3d geometry.

This implementation uses viewport rendering to produce an image of geometry added to a specific cull mask layer. This viewport texture is then applied with a shader on a screen filling quad to produce a single pixel-perfect outline.

Nodes within the scene are commented with useful information about how the setup works.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Outline 3d icon image
ualac
Outline 3d

An example that creates single-pixel outlines around selective 3d geometry.This implementation uses viewport rendering to produce an image of geometry added to a specific cull mask layer. This viewport texture is then applied with a shader on a screen filling quad to produce a single pixel-perfect outline.Nodes within the scene are commented with useful information about how the setup works.

Supported Engine Version
3.4
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
2 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers