Skip to content

Commit

Permalink
Fix docs in VerticalExaggerationPipelineStage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeshurun Hembd committed May 7, 2024
1 parent 0734229 commit c9bb616
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand All @@ -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
Expand Down

0 comments on commit c9bb616

Please sign in to comment.