Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Burn Sprite Shader

Author
Message
janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 13th Jan 2015 15:18 Edited at: 16th Aug 2017 17:29
Hello,

Nice to see so much new shaders and people showing their interest in it.

I have a shader for all pyromaniacs.
But it's not final, somehow the sprite is a bit transparent while burning
and I should add a yellow to black transition at the edge.

Download
Burn Shader.zip

Screenshot


</div>

Using AGKv2 Tier1

Attachments

Login to view attachments
janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 13th Jan 2015 15:19 Edited at: 16th Aug 2017 17:29
Space for Screenshot

</div>

Using AGKv2 Tier1

Attachments

Login to view attachments
Steve O
AGK Bronze Backer
20
Years of Service
User Offline
Joined: 24th Feb 2004
Location: The Netherlands
Posted: 15th Jan 2015 02:25
Wooow, very nice shader effect, good job!

Appify Media - http://www.appifymedia.com
SopiSoft Digital Entertainment - http://www.sopisoft.com
AGK 2 game - NeonTic Tac Toe: https://itunes.apple.com/app/neontic-tac-toe/id582711707?ls=1&mt=8
Jukuma
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 15th Jan 2015 11:55
Very nice shader example! I love the idea.

Why don't use the discard funktion.
I think it's a bit faster.

janbo
15
Years of Service
User Offline
Joined: 10th Nov 2008
Location: Germany
Posted: 15th Jan 2015 17:31 Edited at: 16th Aug 2017 17:29
Thanks...
The idea came to me as I looked into Shockwave Shader and Shader Instance Problem and combined them (somehow)

@Jukuma: I just wasn't sure about it being faster...

</div>

Using AGKv2 Tier1
Jukuma
20
Years of Service
User Offline
Joined: 18th Nov 2003
Location: Germany
Posted: 15th Jan 2015 18:38 Edited at: 16th Jan 2015 17:00







This is ~ 1000 FPS more for me.

Quote: "
discard: This keyword can only be used in Fragment Shaders. It causes the fragment shader's results to be discarded and ignored by the rest of the pipeline. That fragment's value(s) will not be written to the framebuffer.
"



...
basjak
14
Years of Service
User Offline
Joined: 16th Apr 2010
Location: feel like signing up for mars
Posted: 15th Jan 2015 19:37
amazing.

I will be even better if we see some burns on the paper edge.

Login to post a reply

Server time is: 2024-04-19 23:30:20
Your offset time is: 2024-04-19 23:30:20