- Home /
Creating a dynamic alpha based on cursor/object position
Hello!
I am wondering if it would be possible to create an alpha for an object that is painted real time based on where a users cursor or an object they are dragging/controlling goes on the screen. Basically the premises is having the player mow the lawn with a push mower and where the mower goes over one type of grass it changes to a freshly mown type of grass. Any thoughts on how this may be accomplished?
One thought I had was to create a bunch of small planes on the screen, each with their own grass texture and then just change the texture of the tile as the mower goes over it. However this is a very graphically intense way unless big squares are used and then it looks rather clunky and untrue to where the user may even be mowing.
Any thoughts on this would be greatly appreciated. Thanks!
Your answer
![](https://koobas.hobune.stream/wayback/20220612151838im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Locking the cursor in the center of the screen 1 Answer
My Mouse Cursor is locked in certain scenes 1 Answer
Blending 3d planes with shader 0 Answers
object follow mouse position in 3d world. 1 Answer
3D dynamic labeling scripts 0 Answers