Good evening,
I just finished writing my own custom shader to create 2D shadows on sprites, but I can’t find a way to increase the render area of the sprite.
The sprite size is 450x450, I created an atlas and used the trim option, this reduced the frame to 156x393.
The problem is that the shader does not render outside these limits, even though the original area was 450x450.
As you can see cocos recognizes the original area as 450x450, but the shader limits itself to rendering only the trimmed texture.
Is there a way to increase the render bounds?