Hi Everyone, hope you guys are doing well.
I am trying to build a mechanic where I want to hide the front 3D model to reveal the model which is hidden by this front model.
My Approach:
I am editing the opacity map of the front model which is white by a decal of some radius to black under my mouse position.
Problems:
Mouse position and position where my decal (to turn white opacityMap to black) is not in the same position. I tried multiplying/dividing by scale and device pixel ratio button nothing seems to work.
Help will be really appreciated
Here is a sample project:PlayCanvas 3D HTML5 Game Engine