Hello
Thank you a lot for your answer. I appreciate that.
In fact I really like to use shaders for this to learn more about shaders so i can utilize them in my future projects as well.
I reviewed Irrlicht shader tutorial throughly and examined many GLES tutorials to have a better understanding.
So far i have few questions and doubts that i am not sure about.
1- Imagine i can show a circle on my box shape with shader. When i want to move this circle to another position, do i need to recreate shader again? (to pass new parameters to shader)
Understanding this one is making me crazy :
2- as far as i know , to manipulate texture pixels, i need to have UV coords of texture in that certain position.
Now, take a look at attached picture.
>I have my box and its position and dimension.
>I want to show my circle on this box at a specified position(X = distance from left side of the box and Y = distance from top of the box)
My question is, HOW can i convert that X,Y to textcoords so i can send them to shader as parameters and use them inside shader?
(is that what i should do, right? or maybe im wrong?)
i cant figure out this part, hope someone can help me to understand how it works.
kind regards