hm, this is strange, maybe the shader don't work correctly for you. I added a "smoothstep" function, so maybe this is not compatible. Which OS are you using?ArchAngel075 wrote:Regarding the latest polyshadow :
I seemed to be unable to change the strength of the light (mouse wheel) after fiddling around, All i could achieve was scrolling alot to make it suddenly jump from no light intensity to maximum and then scrolling in the opposite direction just made it jump to 0 light intensity again instead of the smooth/gradual declining intensity.
Not sure how to replicate the issue though.
try to change line 14 in the light.glsl from
pixel.rgb = lightColor * pow(att, smooth) + pow(smoothstep(glow.x, 1.0, att), smooth) * glow.y;
to
pixel.rgb = lightColor * pow(att, smooth) + pow(att, smooth) * glow.y;
Hope this works.