WhitestormJS/whs.js

Improve TextureModule

Open

#213 opened on Mar 22, 2017

View on GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (425 forks)batch import
HacktoberfestMODULE

Repository metrics

Stars
 (6,070 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Some improvements can be made to TextureModule

  • allow setting more options on underlying texture from constructor (make sure includes every option three does)
    • minFilter and magFilter
  • allow passing in an "image object", i.e. (new THREE.TextureLoader()).load(imageUrl)
  • support data textures (or maybe make a DataTexture module - I have a wip for this)
  • support for a LoaderModule which can pass the resolved texture to the component, while managing loading status for all items used in it - see #215
Version:
  • v2.x.x
  • v1.x.x
Issue type:
  • Bug
  • Proposal/Enhancement
  • Question

Desktop
  • Chrome
  • Chrome Canary
  • Chrome dev-channel
  • Firefox
  • Opera
  • Microsoft IE
  • Microsoft Edge
Android
  • Chrome
  • Firefox
  • Opera
IOS
  • Chrome
  • Firefox
  • Opera

Contributor guide