|
@@ -22488,6 +22488,7 @@ function WebGLRenderer( parameters ) {
|
|
|
boneMatrices.set( skeleton.boneMatrices ); // copy current values
|
|
|
|
|
|
var boneTexture = new DataTexture( boneMatrices, size, size, RGBAFormat, FloatType );
|
|
|
+ boneTexture.needsUpdate = true;
|
|
|
|
|
|
skeleton.boneMatrices = boneMatrices;
|
|
|
skeleton.boneTexture = boneTexture;
|
|
@@ -23017,15 +23018,6 @@ function WebGLRenderer( parameters ) {
|
|
|
|
|
|
}
|
|
|
|
|
|
- // GL state setting
|
|
|
-
|
|
|
- this.setFaceCulling = function ( cullFace, frontFaceDirection ) {
|
|
|
-
|
|
|
- state.setCullFace( cullFace );
|
|
|
- state.setFlipSided( frontFaceDirection === FrontFaceDirectionCW );
|
|
|
-
|
|
|
- };
|
|
|
-
|
|
|
// Textures
|
|
|
|
|
|
function allocTextureUnit() {
|
|
@@ -44808,6 +44800,11 @@ Object.assign( WebGLRenderer.prototype, {
|
|
|
|
|
|
console.warn( 'THREE.WebGLRenderer: .updateShadowMap() has been removed.' );
|
|
|
|
|
|
+ },
|
|
|
+ setFaceCulling: function () {
|
|
|
+
|
|
|
+ console.warn( 'THREE.WebGLRenderer: .setFaceCulling() has been removed.' );
|
|
|
+
|
|
|
}
|
|
|
|
|
|
} );
|