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 / Example of the Default Internal Sprite Shader

Author
Message
Westa
12
Years of Service
User Offline
Joined: 28th Oct 2011
Location:
Posted: 25th Jun 2015 05:27
Is there an example anywhere of the default internal sprite shader code.

Need to see how the internal shader picks up the Sprites transparency and color values.

Or alternatively is there an up to date list of the values that AppGameKit passes to the shader - I'm assuming the spite shader is getting passed a color value - but can seem to find any documentation on its name.

Westa
lilpissywilly
AGK Developer
13
Years of Service
User Offline
Joined: 10th Sep 2010
Location: Office Chair
Posted: 25th Jun 2015 09:56
http://forum.thegamecreators.com/?m=forum_view&t=211491&b=41&msg=2525867#m2525867


Those might help you out. Those are the simplest ones I've made. They allow texture, color changed through SetSpriteColor() and alpha with blending

My hovercraft is full of eels
Westa
12
Years of Service
User Offline
Joined: 28th Oct 2011
Location:
Posted: 25th Jun 2015 14:33
Cheers thanks.

That was what I was looking for.

Westa

Login to post a reply

Server time is: 2024-04-26 07:48:31
Your offset time is: 2024-04-26 07:48:31