Anim8or Community

General Category => Ongoing Anim8or Development => Topic started by: Steve on September 10, 2014, 10:34:34 pm

Title: Improved GLSL Lighting
Post by: Steve on September 10, 2014, 10:34:34 pm
As of build 1103, GLSL shaders support all 3 light types (directional, local, spotlight) and up to 8 lights.
Title: Re: Improved GLSL Lighting
Post by: cooldude234 on September 10, 2014, 10:40:38 pm
DANG that looks nice :P

I've got to step up my game, steve's editor preview is looking better than my game engine :P
Title: Re: Improved GLSL Lighting
Post by: Steve on September 10, 2014, 10:45:50 pm
Thanks, but I doubt that's true. With some luck I'll have some kind or shadows in the near future :-)
Title: Re: Improved GLSL Lighting
Post by: thecolclough on September 11, 2014, 01:06:13 pm
With some luck I'll have some kind or shadows in the near future :-)
does this, by any chance, have any impact on how fast a render can be done with shadows enabled, or is it solely for the working views?
Title: Re: Improved GLSL Lighting
Post by: Steve on September 11, 2014, 09:13:50 pm
It will work for the working views and when you use the OpenGL renderer, but not the other renderers. However I have things planned to speed those up as well.
Title: Re: Improved GLSL Lighting
Post by: cooldude234 on September 11, 2014, 09:56:17 pm
Thanks, but I doubt that's true
I'm pretty sure it is lol, I haven't done much to work on the graphics portion of my engine. I've been spending a lot of time with under the hood type of stuff (pun intended :D)

But totally looking forward to opengl shadows, would make positioning lights soooo much better.
Title: Re: Improved GLSL Lighting
Post by: thecolclough on September 12, 2014, 05:33:52 pm
...the other renderers. However I have things planned to speed those up as well.
that sounds like good news to me 8)
Title: Re: Improved GLSL Lighting
Post by: cooldude234 on September 13, 2014, 08:26:59 pm
So originally I was going to complain, but then I realized I was on the wrong build :P
With all these updates coming out so fast it's getting hard to keep track of my files  ::)

But I do have a question now that I have tried the proper build :P Mainly I want to know if you are planning on making the opengl renderer look as close to the final renderers as much as possible; knowing that both scanline and artray have different looking lighting I just want to know if you could preview in opengl to look as close to one or the other (kinda like a fine tuning preset to tweak the general properties of the opengl lights to match the finalrenders closely).
Title: Re: Improved GLSL Lighting
Post by: Steve on September 13, 2014, 09:47:12 pm
I will be improving the GLSL code to make it match the scanline and ray traced outputs.  Of course the ray traced output will always do better refractions, reflections, etc.
Title: Re: Improved GLSL Lighting
Post by: Steve on October 02, 2014, 09:42:19 pm
Build 1112's GLSL spotlights no longer show a hard edge for softer settings: