Skip to content

Commit

Permalink
Remove unused define from voxel shaders
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeshurun Hembd committed Mar 7, 2024
1 parent b9711ca commit 2d82d76
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/engine/Source/Scene/VoxelRenderResources.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ function VoxelRenderResources(primitive) {

const shapeType = primitive._provider.shape;
if (shapeType === "BOX") {
shaderBuilder.addDefine("SHAPE_BOX", undefined, ShaderDestination.FRAGMENT);
shaderBuilder.addFragmentLines([
convertUvToBox,
IntersectBox,
Expand Down

0 comments on commit 2d82d76

Please sign in to comment.