vector graphics in unity

23
Vector Graphics for Unity SVG importer

Upload: jaroslav-stehlik

Post on 05-Aug-2015

494 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Vector Graphics in Unity

Vector Graphicsfor Unity

SVG importer

Page 2: Vector Graphics in Unity

SVG importer

Jaroslav Stehlíkhead developer at Silicon Jelly

founder of SVG Importer

@jaroslavstehlik [email protected]

Page 3: Vector Graphics in Unity

Vector Graphics vs Textures

SVG importer

Page 4: Vector Graphics in Unity

SVG importer

Vector Graphics vs Textures

"Why does my art look blurry and jagged?"

"My gradients are not smooth enough!"

"Why is my game so huge?"

Textures sometimes sucks...

Page 5: Vector Graphics in Unity

Textures

Fixed resolution

Huge file sizes

SVG importer

Vector Graphics vs Textures

Vector Graphics

1 MBRGBA Texture

20 MB

Property of Silicon Jelly

Page 6: Vector Graphics in Unity

Textures

Fixed resolution

Huge file sizes

Compression artefacts

NPOT mostly Uncompressed

SVG importer

Vector Graphics vs Textures

Vector Graphics

1 MB

POT stretched PVRTC Compressed 4K texture

8 MB

Property of Silicon Jelly

Page 7: Vector Graphics in Unity

Textures

Fixed resolution

Huge file sizes

Compression artefacts

NPOT mostly Uncompressed

Never ending compressions

SVG importer

Vector Graphics vs Textures

Import time 0.06s

Import and compression time 32s

Property of Silicon Jelly

Page 8: Vector Graphics in Unity

Vector Graphics

Clean and sharp

Smooth gradients

Resolution Independent

Tiny file size

Complex to render

SVG importer

Vector Graphics vs Textures

Property of Silicon Jelly

Page 9: Vector Graphics in Unity

Textures forPhotoreal, paintings, animations

SVG importer

Vector Graphics vs Textures

Property of Silicon JellyProperty of Silicon Jelly

Vector Graphics forComics, cartoon, UI, Motion design

Page 10: Vector Graphics in Unity

Realtime demosupports HTML 5

SVG importer

Page 11: Vector Graphics in Unity

Effective Workflow

SVG importer

Page 12: Vector Graphics in Unity

SVG importer

Effective Workflow

"Sprites are easy to use"

Because Unity done it right!

"Let's make Vector Graphics easy as well"

Done!

Page 13: Vector Graphics in Unity

SVG importer

Effective Workflow

DEMO

Page 14: Vector Graphics in Unity

Resolution independent UI

SVG importer

Page 15: Vector Graphics in Unity

SVG importer

Resolution independent UI

"Unity UI is awesome!"

But why bother with screen resolution?

"Most UI are just shapes"

why not use Vector Graphics?

Page 16: Vector Graphics in Unity

SVG importer

Fast mockups

DEMO

Page 17: Vector Graphics in Unity

SVG importer

Mobile performance

Page 18: Vector Graphics in Unity

SVG importer

Mobile performance

Vector Graphics is baked into meshes

Optimised tessellation

No CPU overhead

Fast simple shaders

Better memory footprint and smaller build sizes.

Possible LOD groups in future

Page 19: Vector Graphics in Unity

SVG importer

Tested in the wild

Page 20: Vector Graphics in Unity

SVG importer

Mimpi Dreams

First world premiere

Puzzle Platformer

Completely done with SVG Importer

Mainly designed for mobile and tablets

Page 21: Vector Graphics in Unity

SVG importer

Mimpi Dreams

DEMO

Page 22: Vector Graphics in Unity

SVG importer

Thank You!

Any questions ?

Jaroslav Stehliksvgimporter.com

@[email protected]

Page 23: Vector Graphics in Unity

SVG importer

www.svgimporter.com