NPM not installing all built in postprocessing?

Hi, I’m just getting started with three.js and I was trying to use the screen space reflection postprocessing pass but npm doesn’t seem to include it when I install the package. Am I doing something wrong? From what I’m seeing in my install LUTPass, SSRPass and SSRrPass are all missing…

I just checked and they are installed for me with three@0.135.0. What version of the package do you have installed?

This should work:

import { LUTPass } from "three/examples/jsm/postprocessing/LUTPass";

If it doesn’t, then open the folder node_modules/three/examples/jsm/postprocessing and check if the files are missing.

1 Like

Thanks after some double checking, per your suggestion, looks like it’s a version problem.

1 Like