ShaderEditor icon indicating copy to clipboard operation
ShaderEditor copied to clipboard

Touch screen like mouse in computer?

Open salsa-project opened this issue 2 years ago • 1 comments

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 .

salsa-project avatar Nov 19 '23 07:11 salsa-project

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.

markusfisch avatar Nov 19 '23 12:11 markusfisch