Support for team-only lighting
@@ -240,6 +240,11 @@ public class Draw{
Core.batch.setColor(Core.batch.getColor().r, Core.batch.getColor().g, Core.batch.getColor().b, alpha);
}
+ /** Draws a portion of a world-sized texture. */
+ public static void fbo(FrameBuffer buffer, int worldWidth, int worldHeight, int tilesize){
+ fbo(buffer.getTexture(), worldWidth, worldHeight, tilesize);
+ }
+
/** Draws a portion of a world-sized texture. */
public static void fbo(Texture texture, int worldWidth, int worldHeight, int tilesize){
float ww = worldWidth * tilesize, wh = worldHeight * tilesize;
