Previous topicNext topic

Frame rate for Shadertoy in browser vs in Magic

Questions, comments, feedback, etc.
Post Reply
pinmode
Posts: 44
Joined: Sun May 29, 2016 7:39 pm

Frame rate for Shadertoy in browser vs in Magic

Post 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
Magic
Site Admin
Posts: 3441
Joined: Wed Apr 09, 2014 9:28 pm

Re: Frame rate for Shadertoy in browser vs in Magic

Post 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.
Post Reply