Skip to content

simonboily/gpuspline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GPUSpline

A GPU accelerated 2D catmull-rom spline renderer optimized for mobile devices.

Renders hundreds of high-poly dynamic splines at 60fps on gles2 devices with low CPU usage. Spline generation is defered to the vertex phase without compute or geometry shaders.

Usage

// add a single spline
SplineBatcher.Add(Vector2[], int numVertices))
// generate the batches
SplineBatcher.Generate()
// animate the splines at runtime
SplineBatcher.Modify(Vector2[])

System Requirements

OpenGLES2.0 compatible devices or better, Unity 5.4+

About

GPU spline for mobile (Unity)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published