working on additive blending for determination of winding order. Saving here because this bug is very pretty
This commit is contained in:
@@ -26,7 +26,7 @@ impl Text {
|
||||
},
|
||||
ColorVertex3D {
|
||||
v_position: [-1.0, 1.0, normalized_depth],
|
||||
color: [1.0, 1.0, 1.0, 1.0],
|
||||
color: [1.0, 0.8, 1.0, 1.0],
|
||||
},
|
||||
ColorVertex3D {
|
||||
v_position: [-0.25, 0.0, normalized_depth],
|
||||
@@ -34,7 +34,7 @@ impl Text {
|
||||
},
|
||||
ColorVertex3D {
|
||||
v_position: [-0.25, 0.0, normalized_depth],
|
||||
color: [1.0, 1.0, 1.0, 1.0],
|
||||
color: [0.8, 1.0, 1.0, 1.0],
|
||||
},
|
||||
ColorVertex3D {
|
||||
v_position: [-1.0, 1.0, normalized_depth],
|
||||
@@ -42,7 +42,7 @@ impl Text {
|
||||
},
|
||||
ColorVertex3D {
|
||||
v_position: [0.0, 0.5, normalized_depth],
|
||||
color: [1.0, 1.0, 1.0, 1.0],
|
||||
color: [1.0, 1.0, 0.8, 1.0],
|
||||
},
|
||||
ColorVertex3D {
|
||||
v_position: [0.25, 0.0, normalized_depth],
|
||||
@@ -50,7 +50,7 @@ impl Text {
|
||||
},
|
||||
ColorVertex3D {
|
||||
v_position: [-1.0, 1.0, normalized_depth],
|
||||
color: [1.0, 1.0, 1.0, 1.0],
|
||||
color: [1.0, 0.8, 1.0, 1.0],
|
||||
},
|
||||
ColorVertex3D {
|
||||
v_position: [0.0, 0.5, normalized_depth],
|
||||
@@ -119,7 +119,7 @@ impl Text {
|
||||
};
|
||||
|
||||
Text {
|
||||
verts: VertexTypes::ColorType(verts),
|
||||
verts: VertexTypes::TextType(verts),
|
||||
position: position,
|
||||
size: size,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user