Pass CubeMap into glsl

Hi all,

I got stucks at passing cubeMap from panda3d application to glsl fragment shader. Could you please help me know which naming convention should be?

I am using panda3d1.8.1

Thanks :slight_smile:

It really works just like any texture or shader input. The only difference is that you use samplerCube in your GLSL shader instead of sampler2D, and pass 3D texture coordinates instead of 2D.

It works! Thank you, rdb.