mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
fix: no undefined clipping planes
This commit is contained in:
1 parent
a2cfbda932
commit
7e6aa41ebb
1 file changed
+3
-3
+3
-3
@@ -37,8 +37,8 @@ export function SpacedArmorSubExternal({
|
|||||||
depthTest: true,
|
depthTest: true,
|
||||||
depthWrite: false,
|
depthWrite: false,
|
||||||
blending: AdditiveBlending,
|
blending: AdditiveBlending,
|
||||||
clippingPlanes: clip ? [clip] : undefined,
|
clipping: clip !== undefined,
|
||||||
clipping: true,
|
...(clip ? { clippingPlanes: [clip] } : {}),
|
||||||
|
|
||||||
uniforms: {
|
uniforms: {
|
||||||
thickness: { value: null },
|
thickness: { value: null },
|
||||||
@@ -113,7 +113,7 @@ export function SpacedArmorSubExternal({
|
|||||||
colorWrite: false,
|
colorWrite: false,
|
||||||
depthTest: true,
|
depthTest: true,
|
||||||
depthWrite: true,
|
depthWrite: true,
|
||||||
clippingPlanes: clip ? [clip] : undefined,
|
...(clip ? { clippingPlanes: [clip] } : {}),
|
||||||
}),
|
}),
|
||||||
onClick() {},
|
onClick() {},
|
||||||
userData: {
|
userData: {
|
||||||
|
|||||||
Reference in new issue
Block a user