Skip to content
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

Removed deprecated code in other post-processing examples #7961

Merged
merged 1 commit into from
Jan 14, 2016

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jan 14, 2016

I've cleaned up the other post-processing examples so all legacy code warnings should be gone.

  • replaced THREE.ImageUtils.load with new THREE.TextureLoader().load
  • replaced THREE.ImageUtils.loadTextureCube with new THREE.CubeTextureLoader().load
  • change THREE.MeshLambertMaterial to THREE.MeshPhongMaterial (so the shading-property works again)
  • little fixes in CSS and HTML

mrdoob added a commit that referenced this pull request Jan 14, 2016
Removed deprecated code in other post-processing examples
@mrdoob mrdoob merged commit d0d0f68 into mrdoob:dev Jan 14, 2016
@mrdoob
Copy link
Owner

mrdoob commented Jan 14, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants