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 / palette changing shader help with texcoord please

Author
Message
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 5th Jan 2021 13:20
a snippet of the code strangely no errors what i was hoping for ColorTable (a palette in RGBA8), using MyIndexTexture (an 8 bits square texture in indexed colors)

pixel shader

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 6th Jan 2021 07:26
Using Gimp 2.10.6 to use your custom palette from an image
1>With palette selector view open
2>Right click edit this palette and select import palette
3>Select image button
4>Choose your loaded image from list
5>Select import button
6>Then menu options Image/mode/indexed
7>Use Custom palette
8>Type the one you created in the list (as you type it will be revealed)
9>Select Convert it will be done to the active image

Step 6 then Black/White can also be an easy way of making an image 2 colour etc

fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 6th Jan 2021 20:56
Nice! Very handy

Login to post a reply

Server time is: 2024-11-24 05:49:17
Your offset time is: 2024-11-24 05:49:17