Просмотр исходного кода

FrontFacingNode: Fix `frontFacing` if used `material.flatShading` (#30828)

sunag 9 месяцев назад
Родитель
Сommit
62bb68551e
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      src/nodes/display/FrontFacingNode.js

+ 0 - 2
src/nodes/display/FrontFacingNode.js

@@ -38,8 +38,6 @@ class FrontFacingNode extends Node {
 
 		const { renderer, material } = builder;
 
-		if ( material.flatShading === true ) return 'true';
-
 		if ( renderer.coordinateSystem === WebGLCoordinateSystem ) {
 
 			if ( material.side === BackSide ) {

粤ICP备19079148号