@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 2.96 kB
JavaScript
import{_ as e}from"../../../../chunks/tslib.es6.js";import o from"../../support/debugFlags.js";import{ShaderOutput as t}from"../core/shaderLibrary/ShaderOutput.js";import{NormalAttributeType as r}from"../core/shaderLibrary/attributes/NormalAttribute.glsl.js";import{TextureCoordinateAttributeType as i}from"../core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{PBRMode as s}from"../core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{OverlayMode as a}from"../core/shaderLibrary/terrain/Overlay.glsl.js";import{TileBlendInput as p}from"../core/shaderLibrary/terrain/TileBlendInput.js";import{parameter as d}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{DefaultTechniqueConfiguration as n}from"../materials/DefaultTechniqueConfiguration.js";class l extends n{constructor(){super(...arguments),this.output=t.Color,this.overlayMode=a.Disabled,this.tileBlendInput=p.LayerOnly,this.spherical=!1,this.doublePrecisionRequiresObfuscation=!1,this.atmosphere=!1,this.receiveShadows=!1,this.hasSlicePlane=!1,this.backfaceCullingEnabled=!1,this.stencilEnabled=!1,this.textureFadingEnabled=!1,this.renderOccluded=!1,this.hasScreenSpaceReflections=!1,this.hasCloudsReflections=!1,this.shading=!o.TERRAIN_USE_LEGACY_SHADING,this.useLegacyTerrainShading=o.TERRAIN_USE_LEGACY_SHADING,this.invisible=!1,this.tileBorders=!1,this.visualizeNormals=!1,this.screenSizePerspective=!1,this.receiveAmbientOcclusion=!1,this.pbrMode=s.Terrain}}e([d({count:t.COUNT})],l.prototype,"output",void 0),e([d({count:a.COUNT})],l.prototype,"overlayMode",void 0),e([d({count:p.COUNT})],l.prototype,"tileBlendInput",void 0),e([d()],l.prototype,"spherical",void 0),e([d()],l.prototype,"doublePrecisionRequiresObfuscation",void 0),e([d()],l.prototype,"atmosphere",void 0),e([d()],l.prototype,"receiveShadows",void 0),e([d()],l.prototype,"hasSlicePlane",void 0),e([d()],l.prototype,"backfaceCullingEnabled",void 0),e([d()],l.prototype,"stencilEnabled",void 0),e([d()],l.prototype,"textureFadingEnabled",void 0),e([d()],l.prototype,"renderOccluded",void 0),e([d()],l.prototype,"hasScreenSpaceReflections",void 0),e([d()],l.prototype,"hasCloudsReflections",void 0),e([d()],l.prototype,"shading",void 0),e([d()],l.prototype,"useLegacyTerrainShading",void 0),e([d()],l.prototype,"invisible",void 0),e([d()],l.prototype,"tileBorders",void 0),e([d()],l.prototype,"visualizeNormals",void 0),e([d()],l.prototype,"screenSizePerspective",void 0),e([d()],l.prototype,"receiveAmbientOcclusion",void 0),e([d({count:s.COUNT})],l.prototype,"pbrMode",void 0),e([d({constValue:r.CompressedAttribute})],l.prototype,"normalType",void 0),e([d({constValue:i.Compressed})],l.prototype,"textureCoordinateType",void 0),e([d({constValue:!1})],l.prototype,"highStepCount",void 0),e([d({constValue:!1})],l.prototype,"useCustomDTRExponentForWater",void 0),e([d({constValue:!1})],l.prototype,"useFillLights",void 0);export{l as TerrainTechniqueConfiguration};