File tree Expand file tree Collapse file tree
jme3-core/src/main/java/com/jme3/material Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1150,6 +1150,7 @@ public void write(JmeExporter ex) throws IOException {
11501150 oc .write (def .getAssetName (), "material_def" , null );
11511151 oc .write (additionalState , "render_state" , null );
11521152 oc .write (transparent , "is_transparent" , false );
1153+ oc .write (receivesShadows , "receives_shadows" , false );
11531154 oc .write (name , "name" , null );
11541155 oc .writeStringSavableMap (paramValues , "parameters" , null );
11551156 }
@@ -1162,6 +1163,7 @@ public void read(JmeImporter im) throws IOException {
11621163 name = ic .readString ("name" , null );
11631164 additionalState = (RenderState ) ic .readSavable ("render_state" , null );
11641165 transparent = ic .readBoolean ("is_transparent" , false );
1166+ receivesShadows = ic .readBoolean ("receives_shadows" , false );
11651167
11661168 // Load the material def
11671169 String defName = ic .readString ("material_def" , null );
You can’t perform that action at this time.
0 commit comments