Skip to content

Commit 06c1335

Browse files
committed
fix build test
1 parent 429fa2d commit 06c1335

File tree

11 files changed

+54
-31
lines changed

11 files changed

+54
-31
lines changed

packages/engine/Source/Shaders/Builtin/Constants/passCesium3DTile.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
*
77
* @see czm_pass
88
*/
9-
const float czm_passCesium3DTile = 4.0;
9+
const float czm_passCesium3DTile = 5.0;

packages/engine/Source/Shaders/Builtin/Constants/passCesium3DTileClassification.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
*
77
* @see czm_pass
88
*/
9-
const float czm_passCesium3DTileClassification = 5.0;
9+
const float czm_passCesium3DTileClassification = 6.0;

packages/engine/Source/Shaders/Builtin/Constants/passCesium3DTileClassificationIgnoreShow.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
*
77
* @see czm_pass
88
*/
9-
const float czm_passCesium3DTileClassificationIgnoreShow = 6.0;
9+
const float czm_passCesium3DTileClassificationIgnoreShow = 7.0;
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/**
2+
* The automatic GLSL constant for {@link Pass#CESIUM_3D_TILE_EDGES}
3+
*
4+
* @name czm_passCesium3DTileEdges
5+
* @glslConstant
6+
*
7+
* @see czm_pass
8+
*/
9+
const float czm_passCesium3DTileEdges = 4.0;
10+

packages/engine/Source/Shaders/Builtin/Constants/passGaussianSplats.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
*
77
* @see czm_pass
88
*/
9-
const float czm_passGaussianSplats = 10.0;
9+
const float czm_passGaussianSplats = 11.0;

packages/engine/Source/Shaders/Builtin/Constants/passOpaque.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
*
77
* @see czm_pass
88
*/
9-
const float czm_passOpaque = 7.0;
9+
const float czm_passOpaque = 8.0;

packages/engine/Source/Shaders/Builtin/Constants/passOverlay.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
*
77
* @see czm_pass
88
*/
9-
const float czm_passOverlay = 11.0;
9+
const float czm_passOverlay = 12.0;

packages/engine/Source/Shaders/Builtin/Constants/passTranslucent.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
*
77
* @see czm_pass
88
*/
9-
const float czm_passTranslucent = 8.0;
9+
const float czm_passTranslucent = 9.0;

packages/engine/Source/Shaders/Builtin/Constants/passVoxels.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
*
77
* @see czm_pass
88
*/
9-
const float czm_passVoxels = 9.0;
9+
const float czm_passVoxels = 10.0;

packages/engine/Source/Shaders/Model/EdgeDetectionStageFS.glsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ void edgeDetectionStage(inout vec4 color, inout FeatureIds featureIds) {
66
vec2 screenCoord = gl_FragCoord.xy / czm_viewport.zw;
77

88
vec4 edgeColor = texture(czm_edgeColorTexture, screenCoord);
9-
vec4 edgeId = texture(czm_edgeIdTexture, screenCoord);
9+
vec4 edgeId = texture(czm_edgeIdTexture, screenCoord);
1010

1111
// Packed window-space depth from edge pass (0..1)
1212
float edgeDepthWin = czm_unpackDepth(texture(czm_edgeDepthTexture, screenCoord));
@@ -36,7 +36,7 @@ void edgeDetectionStage(inout vec4 color, inout FeatureIds featureIds) {
3636
float edgeFeatureId = edgeId.g;
3737
float currentFeatureId = float(featureIds.featureId_0);
3838
#endif
39-
float globeDepth = czm_unpackDepth(texture(czm_globeDepthTexture, screenCoord));
39+
float globeDepth = czm_unpackDepth(texture(czm_globeDepthTexture, screenCoord));
4040
// Background / sky / globe: always show edge
4141
bool isBackground = geomDepthLinear > globeDepth;
4242
bool drawEdge = isBackground;
@@ -55,4 +55,4 @@ void edgeDetectionStage(inout vec4 color, inout FeatureIds featureIds) {
5555
color = edgeColor;
5656
}
5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)