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 / [SOLVED] Save Shader Result

Author
Message
Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 3rd Jun 2020 01:09 Edited at: 3rd Jun 2020 01:10


I made a shader that takes the mouse position and radius as parameters to create a mask for the image. Tell me how you can save the results of previous clicks.

main.agc


shader.ps

Attachments

Login to view attachments

The author of this post has marked a post as an answer.

Go to answer

Qugurun
Valued Member
9
Years of Service
User Offline
Joined: 8th Dec 2014
Playing: AppGameKit
Posted: 3rd Jun 2020 02:05 Edited at: 3rd Jun 2020 02:05
This post has been marked by the post author as the answer.
Solved the issue using [u]SetShaderConstantArrayVec2ByName()

Login to post a reply

Server time is: 2024-04-18 03:15:24
Your offset time is: 2024-04-18 03:15:24