BabylonReactNative
BabylonReactNative copied to clipboard
Coloring instances using instancedBuffer
Hello! I'm trying to color mesh instances on BabylonReactNative scene using this example: https://playground.babylonjs.com/#YPABS1
But when i move code that works in playground to BabylonReactNative scene all instances keeps appearing black.
Is there any specific BabylonReactNative issues with instancedBuffers ?
@CedricGuillemet where are we at with instance support?
@ryantrem I had a quick look some weeks ago. It's a 2 parts work: handle the dynamic buffer on the C++ side and add instance buffer attribute in the shader. For the later part I don't know the amount of work it needs. I guess it will need changes on nativeShaderProcessor, maybe the shader traversals.
Work has been done https://github.com/BabylonJS/BabylonNative/pull/990 Reopen this issue if needed