* Fixed MTL loader bug when handling Tr/d statement
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7468 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
		
							parent
							
								
									8e5832f975
								
							
						
					
					
						commit
						b0aae84707
					
				| @ -132,7 +132,7 @@ public class MTLLoader implements AssetLoader { | ||||
|                 else | ||||
|                     color = new ColorRGBA(ColorRGBA.White); | ||||
| 
 | ||||
|                 color.a = scan.nextFloat(); | ||||
|                 color.a = alpha; | ||||
|                 material.setColor("Diffuse", color); | ||||
|                 material.setTransparent(true); | ||||
|                 material.getAdditionalRenderState().setBlendMode(BlendMode.Alpha); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user