Hi,
I am looking for inspiration here.
I am developping an application where the user manually paints a surface using the mouse.
I have followed this tutorial: https://www.youtube.com/watch?v=UJ_z3pOdQ7c&list=FLBW1C3Qk7AvAwTdKjT-FvDw&index=20&t=342s
My problem is assing the completion of the task. The system needs to know when the user has finished painting the surface. I need a criteria.
The painted object is using custom depth stencil and post process material.
The best option would be if I could set a variable from within a material telling if there is still an unpainted pixel.
I understand we can parameterize materials and create material instances, but we can only set their parameters from outside. There is no way to set a variable or trigger an event from inside a material.
Doe anyone have an idea ?
I am familiar with image processing. If only I could get my hands on the resukting image, I could compute it myself.
Any idea ?
Thanks and regards !