Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
glsl::HeightfieldModel_Tile_vertex_glsl Class Reference

Shader program. More...

Public Member Functions

float getOSElevation (in vec2 pixelPosInTile)
 
void TerrainTile_computeOSInput (out vec4 osVertex, out vec3 osNormal, out vec2 texCoord0)
 

Public Attributes

uniform sampler2D elevation
 
uniform float pixelsPerQuadSide
 
attribute vec2 position
 
uniform vec3 scale
 
uniform float texCoordsPerMeter
 
uniform ivec2 tilePixelOffset
 

Detailed Description

Shader program.

Member Function Documentation

◆ getOSElevation()

float glsl::HeightfieldModel_Tile_vertex_glsl::getOSElevation ( in vec2  pixelPosInTile)
inline

◆ TerrainTile_computeOSInput()

void glsl::HeightfieldModel_Tile_vertex_glsl::TerrainTile_computeOSInput ( out vec4  osVertex,
out vec3  osNormal,
out vec2  texCoord0 
)
inline

Member Data Documentation

◆ elevation

uniform sampler2D glsl::HeightfieldModel_Tile_vertex_glsl::elevation

◆ pixelsPerQuadSide

uniform float glsl::HeightfieldModel_Tile_vertex_glsl::pixelsPerQuadSide

◆ position

attribute vec2 glsl::HeightfieldModel_Tile_vertex_glsl::position

◆ scale

uniform vec3 glsl::HeightfieldModel_Tile_vertex_glsl::scale

◆ texCoordsPerMeter

uniform float glsl::HeightfieldModel_Tile_vertex_glsl::texCoordsPerMeter

◆ tilePixelOffset

uniform ivec2 glsl::HeightfieldModel_Tile_vertex_glsl::tilePixelOffset

documentation generated on Wed Nov 24 2021 08:02:04 using doxygen 1.8.15