#include "vtkLineIntegralConvolution2D_VT.h" const char *vtkLineIntegralConvolution2D_VT = "//VTK::System::Dec\n" "\n" "//=========================================================================\n" "//\n" "// Program: Visualization Toolkit\n" "// Module: vtkLineIntegralConvolution2D_VT.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" "\n" "// move vector field to normalized image space\n" "// pre-processing for vtkLineIntegralConvolution2D\n" "\n" "// the output of this shader\n" "//VTK::Output::Dec\n" "\n" "// Fragment shader used by the gaussian blur filter render pass.\n" "\n" "uniform sampler2D texVectors; // input texture\n" "uniform vec2 uTexSize; // size of texture\n" "\n" "in vec2 tcoordVC;\n" "\n" "void main(void)\n" "{\n" " //VTK::LICComponentSelection::Impl\n" " V = V/uTexSize;\n" " gl_FragData[0] = vec4(V, 0.0, 1.0);\n" "}\n" "";