Ok,I was able to run your code. Two shaders reported errors but the sepia and another one ran. Thanks to that.
But I can't get the sprite shader to work int AGK2. Maybe I am not understanding the concept.
Here is the code:
// Project: SpriteShaderTest
// Created: 2014-11-18
// set window properties
SetWindowTitle( "SpriteShaderTest" )
SetWindowSize( 1024, 768, 0 )
// set display properties
SetVirtualResolution( 1024, 768 )
SetClearColor(100,100,100)
local sprite as integer
sprite = CreateSprite(LoadImage("blue.png"))
SetSpritePosition(sprite,100,100)
local shader as integer
shader = LoadSpriteShader("Bloom.ps")
SetSpriteShader(sprite, shader)
do
Print( ScreenFPS() )
Sync()
loop
Would be awesome if you could help me with that one.