Teaser Fridays and Roadmap talks

Another sneak peek: Updated Rive extension rendering in the Editor!

We’re getting closer to an update of our in-editor rendering of a Rive scene.
It uses the same rendering code as we use in the engine runtime, meaning full vector rendering with feathering and so on. A little bit of work still left, but we’re making good progress!

At the same time, there will also be a new scripting api for Rive, that matches their more recent “databinding” functionality.

18 Likes

Working on adding the new semantic type “center position” for custom vertex formats that automatically exposes the objects world space position in shaders. You can use this to achieve billboards and impostors in the engine/editor that are always rotated towards the camera:

18 Likes

Thank you. Yet again, this is something everyone has been waiting for for a long time. The timing is also great. I have lots of billboard sprites in one of my prototypes.

I have one small question: will this also somehow work if the particles or the container game object are rotated?

4 Likes

This question is also relevant for sprites. In the current implementation of the shader, the sprite or object/objects above it in the hierarchy cannot be rotated for the billboard to work properly.

3 Likes

It will not automatically work if you rotate objects I think, you will need to combine this with a transform (which is also available as a custom attribute).

3 Likes

Here’s a performance task I worked on for the next Defold version - caching texture parameters in OpenGL:

The left side is latest Defold stable (1.12.2) and the right is the latest dev (1.12.3), and as you can see there’s almost half as many opengl calls in this complex scene.

It’s quite noticable performance wise as well, fps wise, on my dev machine:

stable:
min: 400 max: 430

dev:
min: 430 max: 470

Scene is taken from: GitHub - martianovdev/Defold-BRDF-Deferred-Rendering-V2 · GitHub

18 Likes

Speaking as one of the mortals: I don’t fully understand what’s happening here, but the right side has fewer scary numbers, so it must be good news. :tada::grin:

2 Likes

Could you see wireframe of mesh in renderdoc? Wireframe mode does nothing. I couldnt do on my game. I dont know why

This realy looks gamechanging :smiley: