Question about culling in jME3

Any idea why my Quad is visible only when front-facing (though cull hint is ‘Never’) ?

thanks



[java]

@Override

public void simpleInitApp() {



rootNode.setCullHint(CullHint.Never);



Quad q1 = new Quad(1f, 1f);

q1_geom = new Geometry(“Quad face”, q1);

q1_geom.updateModelBound();



Material q1_mat = new Material(assetManager, “Common/MatDefs/Misc/SolidColor.j3md”);

q1_mat.setColor(“m_Color”, ColorRGBA.Blue);

q1_geom.setMaterial(q1_mat);



System.out.println("before attachCuild q1 culling is "+q1_geom.getCullHint());

rootNode.attachChild(q1_geom);

System.out.println("after attachCuild q1 culling is "+q1_geom.getCullHint());

}



@Override

public void simpleUpdate(float tpf) {

q1_geom.rotate(0, tpf, 0);

}

[/java]

mat.getAdditionalRenderState().setFaceCullMode(FaceCullMode.Off);

it’s much better :slight_smile: Thanks a lot for your answer

(btw jME3 rocks, I love it)