How do I create new quad meshes in defold

I’ve been using the standard 1x1 and 2x2 meshes for my shaders, however since my game is 1280x720 the screen is a lot bigger, so I’ve been unable to use it for Backgrounds.

I’ve tried scaling up the object itself, but since the actual dimensions are the same, I run into issues that the pattern also scales up, losing resolution.

Is there a way to change the dimensions of a quad or create new quads within defold?

You’re using it in combination with 2d sprites, particle effects etc? And you have a custom material of some kind to make a background effect? If you render it with a separate predicate in your render script with a view and projection like in the post processing example you’d get something covering your screen.

1 Like