- use Spritebatch/quads
- break the tileset up and use the images individually.
Getting Image from Spritebatch
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Prole
- Posts: 41
- Joined: Thu Sep 05, 2013 8:48 pm
Getting Image from Spritebatch
So, I'm trying to use Light_World.lua alongside STI and am struggling to get Normals mapped properly. I'm taking tilesets and using them in Tiled and using STI to render them, but after adding Light_World, I found the need to use Normal Maps to properly light tiles. The problem with this is for the Bodies in Light_World it (doesn't explicitly, but based on the callbacks in the code) requires an Image to set the normal map (see documentation for the function here.) I'm taking the tilesets and passing them through the NVIDIA Normals plugin for Photoshop, so if I want to use them in a tiled fashion I have to either
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest