+3
Under vurdering

Cheaper Light Mode, specifically for Lightmaps?

robert briscoe 11 år siden opdateret af Freya Holmér (Developer) 10 år siden 3

So I'm wondering if there could be a cheaper Light mode for shaders with lightmaps, since single lightmapped shaders don't require any lighting info at all, and directional lightmaps have a lot of the lighting info baked in for specular and normals. 


Right now, 60+ instructions seems quite heavy for a non-dynamic lit shader

Svar

Svar
Under vurdering
The instruction counter is broken a the moment, but SF in general does pretty much everything in the fragment shader, including lighting, which isn't optimal when you want to reduce instructions. Vertex lighting and all is planned, and should work along with the lightmaps down the line!

Planlagt

The instruction counter is broken a the moment, but SF in general does pretty much everything in the fragment shader, including lighting, which isn't optimal when you want to reduce instructions. Vertex lighting and all is planned, and should work along with the lightmaps down the line!

Hi, any idea for when this is planned? Because it would we a great improvement if we could use the cheaper vertex lights and of course is the pixel light usage limited in forward rendering.
Thx. Still like the editor a lot!! Great work.
We'll see if this gets done or not, it's a bit of a complex issue. There are a ton of other things that has priority at the moment. However, vertex lighting is planned!
Svar
Under vurdering
The instruction counter is broken a the moment, but SF in general does pretty much everything in the fragment shader, including lighting, which isn't optimal when you want to reduce instructions. Vertex lighting and all is planned, and should work along with the lightmaps down the line!

Ok I will wait:) thx

Kundesupport af UserEcho