Page 1 of 1

Frame rate for Shadertoy in browser vs in Magic

Posted: Wed Nov 16, 2016 9:37 am
by pinmode
I'm experiencing about 1/2 the frame rate in Magic (30fps) for ISF (nothing else in the scene) as compared w/ Chrome on Shadertoy (60fps) for the same shader. Is this expected? GTX 980, Windows 10, Magic 64-bit

Re: Frame rate for Shadertoy in browser vs in Magic

Posted: Wed Nov 16, 2016 4:07 pm
by Magic
Well, 30fps vs 60fps is not the best comparison, because when Vsync is enabled, the frame rate is often rounded to the nearest whole-number division of the monitor's refresh rate (60/2 = 30). In other words, it will drop directly from 60 to 30, skipping all the intermediate values. A more useful comparison will be to disable Vsync (Window > Magic Window Options > Vertical Sync).

That being said, Magic will usually be slightly slower than Shadertoy, because Shadertoy is dedicated to doing one thing (displaying a shader), whereas Magic has to make some minor compromises in order to do other additional things.