Browse Source

Set default depth bias

borisrp 1 tuần trước cách đây
mục cha
commit
6b6c384b31
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      h3d/impl/PipelineCache.hx

+ 1 - 0
h3d/impl/PipelineCache.hx

@@ -96,6 +96,7 @@ class PipelineBuilder {
 
 
 	public function new() {
 	public function new() {
 		if( PSIGN_SIZE > 64 ) throw "assert";
 		if( PSIGN_SIZE > 64 ) throw "assert";
+		setDepthBias(0, 0);
 	}
 	}
 
 
 	static function getRTBits( tex : h3d.mat.Texture ) {
 	static function getRTBits( tex : h3d.mat.Texture ) {