Skip to content

TextureNode flipY not rebuild correctly ( forceWebGL:true ) #30841

@Makio64

Description

@Makio64

Description

In some case changing the value of a texture ( TextureNode ) make the matrix flipY not working.

Looking at the code of TextureNode i think it's because it gets flipY again and the setup is not correctly rebuild..

It's only when forceWebGL:true

I tried to reproduce the issues in a minimal example with no success : https://jsfiddle.net/uj962thg/82/
The difference is the renderTarget in the app im working on is updated multiple time, also postFx are involved.. so maybe some buffer is not reset correctly ?

currently I'm force to rebuild the material.colorNode each time im changing the texture.value (again only in webgl)

Reproduction steps

X

Code

X

Live example

I tried to reproduce the issues in a minimal example with no success : https://jsfiddle.net/uj962thg/82/
The difference is the renderTarget in the app im working on is updated multiple time, also postFx are involved.. so maybe some buffere

Screenshots

No response

Version

r175

Device

No response

Browser

No response

OS

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions