Potential rendering change between 4.2.1 and 5.x

Hey folks,

One of the drawbacks of working on something for a long time is that events tend to outpace the earliest work. In the early chapters of my book, I have some PG snippets that display an orbiting planet animation. When I run them in the latest version of BJS, they render quite differently. Observe:

Base PG

BJS 4.2.1 - expected:

BJS 5.19.0: - not expected:

I’m not sure off the bat what might be causing this, or whether it’s expected or not, but wanted to capture it here before I forgot!

I will have a look today

So it seems the way we are not applying viewport anymore after rendering the procedural texture. It definitely looks like a bug to me.

I will let you know ASAP thanks for the report.

1 Like

Will be fixed by Restore viewport on Procedural Texture Render by sebavan · Pull Request #12864 · BabylonJS/Babylon.js · GitHub

1 Like

Thanks for turning this around so quickly !

1 Like