Gdevelop: Texture in Light Object bug

Created on 19 Oct 2020  路  5Comments  路  Source: 4ian/GDevelop

Describe the bug

In the beta 101, an texture cannot be render in the light object even with webgl 2 and 1.
The last PR 1979 on Light have introduce this bug.

Here a white square as texture light:
On beta 100, result expected:
image

On beta 101, bugged:
image

Test_Light_project.zip

Other details

b101 only

@HarsimranVirk @4ian

馃悰 bug

All 5 comments

@Bouh does it render any texture at all? I feel like we've broken the texture rendering somehow, either way I'll look at it :+1:

No image works.

Let me know @HarsimranVirk if you can debug this/need help - probably a mistake that caused a regression. We also have an issue of some shader issues on iOS/some Android mobile devices, I'll also try to help on this maybe we're using something not supported by some GPUs.

If the renderTexture from the layer is missing the rest of the code bug. Even with the return:

gdjs.LayerPixiRenderer.prototype._updateRenderTexture = function () {
  if (!this._pixiRenderer) return;

image
Bug report by an user, not reproductible...

If the renderTexture from the layer is missing the rest of the code bug. Even with the return:

Seems pretty weird to me, renderTexture can't be undefined (although it can always be null, since that's the default framebuffer).

Bug report by an user, not reproductible...

True, I couldn't reproduce, might be something very specific to pixi I guess.

Was this page helpful?
0 / 5 - 0 ratings