#include "vtkPointGaussianVS.h" const char *vtkPointGaussianVS = "//VTK::System::Dec\n" "\n" "/*=========================================================================\n" "\n" " Program: Visualization Toolkit\n" " Module: vtkPointGaussianVS.glsl\n" "\n" " Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen\n" " All rights reserved.\n" " See Copyright.txt or http://www.kitware.com/Copyright.htm for details.\n" "\n" " This software is distributed WITHOUT ANY WARRANTY; without even\n" " the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n" " PURPOSE. See the above copyright notice for more information.\n" "\n" "=========================================================================*/\n" "// this shader implements imposters in OpenGL for Spheres\n" "\n" "in vec4 vertexMC;\n" "in float radiusMC;\n" "out float radiusVCVSOutput;\n" "\n" "// optional normal declaration\n" "//VTK::Normal::Dec\n" "\n" "// Texture coordinates\n" "//VTK::TCoord::Dec\n" "\n" "// material property values\n" "//VTK::Color::Dec\n" "\n" "// clipping plane vars\n" "//VTK::Clip::Dec\n" "\n" "// camera and actor matrix values\n" "//VTK::Camera::Dec\n" "\n" "// picking support\n" "//VTK::Picking::Dec\n" "\n" "void main()\n" "{\n" " //VTK::Color::Impl\n" "\n" " //VTK::Normal::Impl\n" "\n" " //VTK::TCoord::Impl\n" "\n" " //VTK::Clip::Impl\n" "\n" " radiusVCVSOutput = radiusMC;\n" "\n" " gl_Position = MCVCMatrix * vertexMC;\n" "\n" " //VTK::Picking::Impl\n" "}\n" "";