February 23, 2011

lcUbershader Point Lights

version 2.6 – Download Page

I’ve added 3 point lights in addition to the 3 directional lights to the lcUbershader.  These point lights also have an attenuation property, so as they move away from an object their intensity decreases, there is a multiplier to adjust this effect.

I’m not quite sure what will happen with the baked shadows, currently only active for the directional lights, I will probably add the option for the point lights at a future time.

I haven’t had the time to test this change extensively so let me know if something is not working right.

I’m working on adding the point lights to the lcSkinShader also, but I hit the registers limit (32) for the fp40 profile so I’ll have to break things up into more passes or remove some features.

No comments:

Post a Comment