浏览代码

Set default depth bias

borisrp 1 周之前
父节点
当前提交
6b6c384b31
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      h3d/impl/PipelineCache.hx

+ 1 - 0
h3d/impl/PipelineCache.hx

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