- fix material error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7596 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
		
							parent
							
								
									b8d1073014
								
							
						
					
					
						commit
						d4baac1e6b
					
				| @ -50,7 +50,8 @@ public class WireProcessor implements SceneProcessor { | ||||
|     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); | ||||
|     } | ||||
| 
 | ||||
|  | ||||
| @ -5,8 +5,8 @@ MaterialDef Wire Color { | ||||
|     } | ||||
| 
 | ||||
|     Technique { | ||||
|         VertexShader GLSL100: solid_color.vert | ||||
|         FragmentShader GLSL100: solid_color.frag | ||||
|         VertexShader GLSL100: Unshaded.vert | ||||
|         FragmentShader GLSL100: Unshaded.frag | ||||
| 
 | ||||
|         RenderState { | ||||
|             FaceCull Off | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user