Good shaders and lighting tutorial

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
pauls313
Prole
Posts: 38
Joined: Tue Aug 02, 2016 3:07 am

Good shaders and lighting tutorial

Post by pauls313 » Sat Oct 13, 2018 9:04 pm

Title says it all. I sort of understand how GLSL works, but I'm having real trouble conceiving anything that works. Plus, the Light vs Shadow is outdated and uncompatible with 11.0, will it ever be ported?

User avatar
MissDanish
Prole
Posts: 49
Joined: Wed Mar 07, 2018 11:21 pm
Location: Denmark

Re: Good shaders and lighting tutorial

Post by MissDanish » Sun Oct 14, 2018 1:34 am

There's this:
https://github.com/matiasah/shadows

It is very similar to Lights vs. Shadows, there's some differences though:
-It supports 11.x
-It supports rooms, which is useful when making top down games
-It doesn't support cone lights, only circles
-It performs A LOT better, VRAM consumption is around 100 times lower and FPS is about 2x compared to LVS (I actually helped with that, but even before that it ran pretty well compared to LVS)
Provides free hugs :neko:

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests