Frame rate for Shadertoy in browser vs in Magic
Frame rate for Shadertoy in browser vs in Magic
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
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.
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.