CodePudding user response:
Just tried it on vertex shaders, suddenly realized, can do the offset, but offset is for the whole of the vertices, so the effect will be held throughout the tilt, but not between vertex bending,But on the fragment shader, does not have a place where they set the vertex positions,
Before the cocos creator tutorial, one is by using a 2 d rectangular bending, presents a pseudo 3 d perspective effect, and does not generate additional vertices, now want to try but don't know where to begin,
Still hope bosses can teach the 3 d engine