Unable to use reflection probe cubeTexture as fragment shader uniform

unable to use reflection probe cubeTexture as fragment shader uniform.

code in file.assets.zip (568.7 KB)

What is the difference with this topic:

I uploaded the file so you can inspect it.

Well I need a repro in the playground with your shader code so we can understand what is the problem

Help us helping you:
https://doc.babylonjs.com/resources/external_pg_assets

https://www.babylonjs-playground.com/#I57AI5#0

I HAVE FINALLY NAILED IT!!
IT WAS SO HARD TO MAKE PLAYGROUND WITH MOBILE DEVICE

I don’t see any reflections? Wondering what I am supposed to be seeing?

I’m using android phone and chrome,basic browser doesnt work with it.

Nailed making playground

you should see blue sky color or white cube.

Warning says there is no texture bound to the unit 0

It first looks like you are using a sampler2D and texture2D instead of samplerCube and textureCube. Also you are trying to attach the probe to a camera but the probe can only be attached to meshes.

Maybe your answer is right, but it doesnt work properly. Can you please add reflection shader and test it?

In my case, everything using shaderMaterial look white.

assets.zip (875.8 KB)

This is the project I’m doing. minecraft.html has two shaders, predeclare.js has reflection probe and uniform settings.

It all works ok: https://www.babylonjs-playground.com/#I57AI5#14