Skip to content

nanopony/Unity3dMasking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity3d Sprite Masking demo

Two separate clipping groups

Two shaders: ClippingGroup (aka stencil) and ClippedSprite (i.e. what should be clipped).

Multiple clipping groups are supported, but beware of overlapping. If clipping groups could be overlapped then stencil masking should be used instead, but it will limit amount of indepentent ClippingGroups to 8.

Releases

No releases published

Packages

No packages published