SDK:
- remove PolyOffset parsing workaround git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8027 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
faff3bf779
commit
0448725e2b
@ -488,9 +488,7 @@ public class EditableMaterialFile {
|
|||||||
additionalRenderStates.put("FaceCull", new MaterialProperty("FaceCullMode", "FaceCull", mat.getAdditionalRenderState().getFaceCullMode().name()));
|
additionalRenderStates.put("FaceCull", new MaterialProperty("FaceCullMode", "FaceCull", mat.getAdditionalRenderState().getFaceCullMode().name()));
|
||||||
additionalRenderStates.put("Blend", new MaterialProperty("BlendMode", "Blend", mat.getAdditionalRenderState().getBlendMode().name()));
|
additionalRenderStates.put("Blend", new MaterialProperty("BlendMode", "Blend", mat.getAdditionalRenderState().getBlendMode().name()));
|
||||||
additionalRenderStates.put("AlphaTestFalloff", new MaterialProperty("Float", "AlphaTestFalloff", mat.getAdditionalRenderState().getAlphaFallOff() + ""));
|
additionalRenderStates.put("AlphaTestFalloff", new MaterialProperty("Float", "AlphaTestFalloff", mat.getAdditionalRenderState().getAlphaFallOff() + ""));
|
||||||
//TODO: workaround
|
additionalRenderStates.put("PolyOffset", new MaterialProperty("Float,Float", "PolyOffset", mat.getAdditionalRenderState().getPolyOffsetUnits() + " " + mat.getAdditionalRenderState().getPolyOffsetFactor()));
|
||||||
additionalRenderStates.put("PolyOffset", new MaterialProperty("Float,Float", "PolyOffset", "0.0 0.0"));
|
|
||||||
// additionalRenderStates.put("PolyOffset", new MaterialProperty("Float,Float", "PolyOffset", mat.getAdditionalRenderState().getPolyOffsetUnits() + " " + mat.getAdditionalRenderState().getPolyOffsetFactor()));
|
|
||||||
checkWithMatDef();
|
checkWithMatDef();
|
||||||
setAsText(getUpdatedContent());
|
setAsText(getUpdatedContent());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user