8000 GitHub - indikman/SpriteGlow: A sprite glow effect for Unity game engine
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

indikman/SpriteGlow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download unitypackage

SpriteGlow.unitypackage

Description

The glow effect is achieved using sprite outline in HDR colors (applied via shader) and bloom post-processing.

Glow Intensity Glow Color

For the bloom effect KinoBloom is used. You can replace it with similar 3rd-party solutions.

Master branch aims to be on par with the latest Unity version. See releases for previous versions support.

Character sprite by Mikhail Pigichka.

FAQ

Why the glow doesn't appear?

Make sure:

  • HDR is enabled for target platform and tier (Edit > Project Settings > Graphics):

  • Camera 'Allow HDR' is enabled:

  • You've set 'Glow Brightness' high enough:

Why the glow appears on the whole image?

Make sure 'Threshold' value of the bloom image effect is set high enough. It's usually 1 to 1.5, depending on the bloom solution.

Why I get a NullReferenceException in build?

Most likely the outline shader is not included to the build (it happens when none of the included assets reference SpriteGlow component directly). You can force-include the shader by assigning it to the "Always Included Shaders" in Edit -> Project Settings -> Graphics.

It's still not working

Please check the active issues.

About

A sprite glow effect for Unity game engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 64.5%
  • ShaderLab 23.9%
  • HLSL 11.6%
0