Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GBASP shader broken
#5
Hey there, I believe I have fixed the problem. I messed around with the code in ags001-lights.fs and I think there's a single number that is causing the bug.

On line 16:


Code:
radius = pow(radius, vec2(4.0));


When I chance vec2(4.0) to vec2(2.0) it looks like it fixes the problem.

so in the end it looks like:


Code:
radius = pow(radius, vec2(2.0));


I hope this helps!
Reply


Messages In This Thread
GBASP shader broken - by Master_E - 02-03-2016, 07:45 PM
RE: GBASP shader broken - by endrift - 02-03-2016, 07:54 PM
RE: GBASP shader broken - by Master_E - 02-03-2016, 09:59 PM
RE: GBASP shader broken - by FistyDollars - 02-04-2016, 04:49 AM
RE: GBASP shader broken - by Leminnes - 02-20-2016, 10:05 PM
RE: GBASP shader broken - by endrift - 02-20-2016, 10:30 PM
RE: GBASP shader broken - by Leminnes - 02-21-2016, 06:25 AM
RE: GBASP shader broken - by endrift - 02-21-2016, 07:27 AM
RE: GBASP shader broken - by Leminnes - 02-21-2016, 08:34 AM
RE: GBASP shader broken - by endrift - 02-21-2016, 11:45 AM
RE: GBASP shader broken - by Leminnes - 02-22-2016, 03:53 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)