Hi,Excuse me.

I encountered some difficulties in using the camera matrix. In the following picture, the position and rotation of cam1 and light are the same.(as shadow camera).

I want to get coordinates from the shadow camera viewpoint, I learned from here(Tutorial 3: Matrices) that the calculation formula should be like this:

ShadowCameraProjectionMatrix * ShadowCameraMatrixWordInverse * modelMatrix * vec4(pos, 1.0)

ObjectCHOP got the CameraMatrixWordInverse? What do the others use?

I tried using cam1.projection(x,y) and projectionInverse(x,y), but it still doesn’t work.

I don’t know if this method is correct.

Thanks!