From c9bb6169e5511dfff6e21cded94e09f97322a608 Mon Sep 17 00:00:00 2001 From: Jeshurun Hembd Date: Tue, 7 May 2024 12:01:57 -0400 Subject: [PATCH] Fix docs in VerticalExaggerationPipelineStage --- .../Scene/Model/VerticalExaggerationPipelineStage.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/engine/Source/Scene/Model/VerticalExaggerationPipelineStage.js b/packages/engine/Source/Scene/Model/VerticalExaggerationPipelineStage.js index 2a0a059e3123..19f26b1001d3 100644 --- a/packages/engine/Source/Scene/Model/VerticalExaggerationPipelineStage.js +++ b/packages/engine/Source/Scene/Model/VerticalExaggerationPipelineStage.js @@ -3,11 +3,9 @@ import ShaderDestination from "../../Renderer/ShaderDestination.js"; import VerticalExaggerationStageVS from "../../Shaders/Model/VerticalExaggerationStageVS.js"; /** - * The custom shader pipeline stage takes GLSL callbacks from the - * {@link CustomShader} and inserts them into the overall shader code for the - * {@link Model}. The input to the callback is a struct with many - * properties that depend on the attributes of the primitive. This shader code - * is automatically generated by this stage. + * The vertical exaggeration pipeline stage transforms the vertex + * positions based on the values of {@link Scene#verticalExaggeration} and + * {@link Scene#verticalExaggerationRelativeHeight} * * @namespace VerticalExaggerationPipelineStage * @@ -20,7 +18,7 @@ const VerticalExaggerationPipelineStage = { const scratchExaggerationUniform = new Cartesian2(); /** - * Add vertical exaggeration to a shader + * Add defines and uniforms for vertical exaggeration calculations in the vertex shader * * @param {PrimitiveRenderResources} renderResources The render resources for the primitive * @param {ModelComponents.Primitive} primitive The primitive to be rendered