zomby138
zomby138
Can I ask if this new variable will effect both real time light calculations and lightmap sampling?
> Kind of. Lightmap sampling is mostly driven by `UV2`. But when using lightmaps, the specular reflection takes VERTEX into account and LIGHT_VERTEX will impact that That's a real shame....
 This is a real time light shadow where I am modifying the VERTEX value in the fragment shader to snap it to the nearest voxel.  This baked green...
@DaniloSF You could try fudging the ATTENUATION in your shader's light() function. If this is happening only on the very edge of the light's influance, you could make the light...