Skip to content
Snippets Groups Projects
Commit bc2df6eb authored by Alexander Rose's avatar Alexander Rose
Browse files

set doubleSided rendering default to false

parent 9cc7e5a6
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ export namespace Geometry { ...@@ -99,7 +99,7 @@ export namespace Geometry {
opaque: props.alpha === 1 opaque: props.alpha === 1
} }
} }
export function updateRenderableState(state: RenderableState, props: PD.Values<Params>) { export function updateRenderableState(state: RenderableState, props: PD.Values<Params>) {
state.opaque = props.alpha === 1 state.opaque = props.alpha === 1
} }
......
...@@ -343,7 +343,7 @@ export namespace Mesh { ...@@ -343,7 +343,7 @@ export namespace Mesh {
export const Params = { export const Params = {
...Geometry.Params, ...Geometry.Params,
doubleSided: PD.Boolean(true), doubleSided: PD.Boolean(false),
flipSided: PD.Boolean(false), flipSided: PD.Boolean(false),
flatShaded: PD.Boolean(false), flatShaded: PD.Boolean(false),
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment