Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

SpriteOccluder2D

An asset by ChromiumOS-Guy
The page banner background of a mountain and forest
SpriteOccluder2D image holder but it is empty

Quick Information

0 ratings
SpriteOccluder2D icon image
ChromiumOS-Guy
SpriteOccluder2D

A simple plugin for easy of use that adds two node typesSpriteOccluder and AnimatedSpriteOccluderboth calculate a LightOccluder2Don runtime

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

SpriteOccluder2D

SpriteOccluder2D is a godot plugin that adds special sprites that act like LightOccluders tthe adds two node types SpriteOccluder and AnimatedSpriteOccluder both calculate a LightOccluder2D on runtime

Just use SpriteOccluder as a normal Sprite and AnimatedSpriteOccluder as a normal AnimatedSprite

Epsilon is accuracy the lower it is the more accuracte but the lower it is the more resource intensive it is

Smoothing Experimental is by default off Its a simple algorithm that checks to see if theres a point in polygon that is to close to its neighbors if it is it snaps it inside its neighbors

it uses:

bitmap.create_from_image_alpha(image)
bitmap.opaque_to_polygons()

to create a polygon which later get used inside a LightOccluder2D if theres more then one polygon then it creates more LightOccluder2D's and then deletes them next frame

A simple plugin for easy of use
that adds two node types
SpriteOccluder and AnimatedSpriteOccluder
both calculate a LightOccluder2D
on runtime

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
SpriteOccluder2D icon image
ChromiumOS-Guy
SpriteOccluder2D

A simple plugin for easy of use that adds two node typesSpriteOccluder and AnimatedSpriteOccluderboth calculate a LightOccluder2Don runtime

Supported Engine Version
3.5
Version String
1.1
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