Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch screen like mouse in computer? #167

Open
salsa-project opened this issue Nov 19, 2023 · 1 comment
Open

Touch screen like mouse in computer? #167

salsa-project opened this issue Nov 19, 2023 · 1 comment

Comments

@salsa-project
Copy link

Hi guys , thank to devs for this good android app.
Im searching on how to implement touch screen (x, y) coords in my project , any idea please . I couldnt find an answer for that .

@markusfisch
Copy link
Owner

Hello, do you mean how to use the touch coordinates in a shader in Shader Editor? Then have a look the pointers uniform (Menu -> Add uniform/texture) and the Touch sample (Menu -> Load sample -> Touch).

Or did you mean how you would set coordinates like this for a shader in OpenGL? Then have a look a the source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants