Removed warnings when compiling CSFML in release mode
Changed samples images Added an effect to the post-fx sample git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1008 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
771d9d7939
commit
88d48a0f71
15 changed files with 133 additions and 64 deletions
Binary file not shown.
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 52 KiB |
11
dotnet/samples/bin/datas/post-fx/pixelate.sfx
Normal file
11
dotnet/samples/bin/datas/post-fx/pixelate.sfx
Normal file
|
@ -0,0 +1,11 @@
|
|||
texture framebuffer
|
||||
vec2 mouse
|
||||
|
||||
effect
|
||||
{
|
||||
float factor = 5 + 100 * length(mouse);
|
||||
|
||||
vec2 pos = floor(_in * factor) / factor;
|
||||
|
||||
_out = framebuffer(pos);
|
||||
}
|
BIN
dotnet/samples/bin/datas/post-fx/sprite.png
Normal file
BIN
dotnet/samples/bin/datas/post-fx/sprite.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
Loading…
Add table
Add a link
Reference in a new issue