This page explains how to create shaders on sprites in SFML. ... window.draw(sprite,&shader); // Update display and wait for vsync ...
確定! 回上一頁