Re: gpu particle simulation
Posted: Fri Mar 11, 2016 9:57 am
Win7, canvases & shaders supported, nvidia gpus, the error message was that "cameraViewMat" didn't exists, a common error being defining a variable but not using it.
I get that in both particles_no_alpha.love and particles_with_mouse.love:Skeiks wrote:I attempted to run this on my home PC and I received an error. I don't have the message handy but it mentioned that you have an unused variable in one of your shaders. It might just be a quirk of my specific video card but I've found that externs and variables that don't an impact the final pixel throw errors. When I get home I'll try it again and post the error if I still receive it. Maybe that's related to the weirdness pgimeno is getting?
Code: Select all
Error: main.lua:321: Variable 'cameraViewMat' does not exist.
A common error is to define but not use the variable.
stack traceback:
[C]: in function 'send'
main.lua:321: in function 'draw'
[string "boot.lua"]:467: in function <[string "boot.lua"]:435>
[C]: in function 'xpcall'