Material wireMaterial;
public WireProcessor(AssetManager manager) {
- wireMaterial = new Material(manager, "/Common/MatDefs/Misc/WireColor.j3md");
+ wireMaterial = new Material(manager, "/Common/MatDefs/Misc/Unshaded.j3md");
+ wireMaterial.getAdditionalRenderState().setWireframe(true);
wireMaterial.setColor("Color", ColorRGBA.Blue);
}
}\r
\r
Technique {\r
- VertexShader GLSL100: solid_color.vert\r
- FragmentShader GLSL100: solid_color.frag\r
+ VertexShader GLSL100: Unshaded.vert\r
+ FragmentShader GLSL100: Unshaded.frag\r
\r
RenderState {\r
FaceCull Off\r