react-three-renderer
react-three-renderer copied to clipboard
Populate all material properties
- [ ] precision
- [ ] supportsVertexTextures
- [x] vertexColors
- [x] flatShading
- [x] skinning
- [ ] useVertexTexture
- [x] morphTargets
- [x] morphNormals
- [ ] doubleSided
- [ ] flipSided
- [ ] shadowMapEnabled
- [ ] pointLightShadows
- [x] sizeAttenuation
- [ ] logarithmicDepthBuffer
- [x] alphaTest
- [ ] useFog
- [x] fog
- [ ] fogExp
- [ ] more?
Should work similar to material.slot attribute:
- [x] map ( default )
- [x] envMap ( e.g. slot={'envMap'} )
- [x] envMap
- [x] lightMap
- [x] aoMap
- [x] emissiveMap
- [x] bumpMap
- [x] normalMap
- [x] displacementMap
- [x] specularMap
- [x] roughnessMap
- [x] metalnessMap
- [x] alphaMap
See https://github.com/toxicFork/react-three-renderer/issues/34#issuecomment-195487070
Also will need to filter them out of rawShaderMaterial when implemented.
Hey @toxicFork What are the roadmap on these features? Could you by any chance point me in the direction of how I would implement the fog THREEjs feature?
Hi @frederikbrinck , the good news is that all of the map properties are already in there, and the fog property too :)