Improve snapshot embed

This commit is contained in:
luboslenco
2020-11-09 20:06:23 +01:00
parent 8c05dde1cb
commit 5b89a59002
24 changed files with 70 additions and 118 deletions
+2 -2
View File
@@ -57,8 +57,8 @@ class LineDraw {
structure.add("col", VertexData.Float3);
pipeline = new PipelineState();
pipeline.inputLayout = [structure];
pipeline.fragmentShader = kha.Shaders.line_frag;
pipeline.vertexShader = kha.Shaders.line_vert;
pipeline.fragmentShader = Reflect.field(kha.Shaders, "line_frag");
pipeline.vertexShader = Reflect.field(kha.Shaders, "line_vert");
pipeline.depthWrite = true;
pipeline.depthMode = CompareMode.Less;
pipeline.cullMode = CullMode.None;