Skip to content
Chico edited this page Feb 23, 2019 · 8 revisions

Can I use my own camera ?

Yes you can just pass false to the third parameter of luven.init().

But your camera will need to be able to give it's view matrix. The integrated camera in Luven uses the Transform and can simply get the current matrix of the camera.

But at the end it's just math, so once you have your view matrix you can send it with luven.sendCustomViewMatrix() (see General functions)

How many lights can I use simultaneously with Luven ?

By default 64, but if you want to increase or decrease this number you need to go in the luven.lua file change the var NUM_LIGHT and the one in the shader code too.

How can I get oval lights ?

You will probably need that for a 2.5D game, try to init Luven this way :

Luven.init(love.graphics.getWidth(), love.graphics.getHeight())

If it don't fit your needs just experiment with these parameters.

I need something, I want to report a bug or give my feedback, how ?

Use this repo Issues : https://github.com/chicogamedev/Luven/issues

For new features you can implement yourself what you need since Luven is open source. But I'll be happy to know about what your need was or are ! And I will surely löve discuss it with you ! 😃

For simple feedback just contact me on twitter : https://twitter.com/ChicoGameDev Or the Löve2D thread : https://love2d.org/forums/viewtopic.php?f=5&t=86402

What does Luven mean ?

From the latin word : Lumen

Lumen + Love = Luven

Luven is already the name of a small village in Switzerland... I'm Swiss, Luven is Swiss, so that's great !

Clone this wiki locally