-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
program not valid with latest three.js #39
Comments
Looks like this was the PR that broke things: mrdoob/three.js#26805 |
I didn't want to use the three.js version mainly because they don't expose |
Had a stab at applying that diff to your shader: #40 |
@aiden-jeffrey your fork doesn't seem to work for me in three 159, running this fails npm i aiden-jeffrey/three-csm#aiden/three-157 |
any updates? |
I just used the three.js fork of this in the end. I'm sure that the PR I linked is most of the way there, but I couldn't get the shadows to render. |
Just tried your fix with three.js 162 and I do have shadows! |
How you did it? I mean three-csm working with three 162. I have this problem. |
I forked CSM (actually just copied the files from the threejs samples: CSM.js, CSMFrustum.js and CSMShader.js) The file with the fix is here: https://github.com/ebeaufay/UltraGlobe/blob/master/src/csm/CSMShader.js |
I'm seeing this error trying to use your library on a recent three.js release (r157):
Any idea what I can do to fix this? Should I just use the version of this that ships with three.js?
The text was updated successfully, but these errors were encountered: