ELF>( @@ATL%UH-HHH=LHH-HH=LHH]A\//VTK::System::Dec //========================================================================= // // Program: Visualization Toolkit // Module: vtkLineIntegralConvolution2D_CE.glsl // // Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen // All rights reserved. // See Copyright.txt or http://www.kitware.com/Copyright.htm for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE. See the above copyright notice for more information. // //========================================================================= // gray scale contrast enhance stage implemented via histogram stretching // if the min and max are tweaked it can generate out-of-range values // these will be clamped in 0 to 1 // the output of this shader //VTK::Output::Dec uniform sampler2D texLIC; // most recent lic pass uniform float uMin; // min gray scale color value uniform float uMaxMinDiff; // max-min in vec2 tcoordVC; void main( void ) { vec4 lic = texture2D(texLIC, tcoordVC.st); if (lic.g!=0.0) { gl_FragData[0] = lic; } else { float CElic = clamp((lic.r - uMin)/uMaxMinDiff, 0.0, 1.0); gl_FragData[0] = vec4(CElic, lic.gb, 1.0); } } GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0GNUzRx $`FHN |AB`4Cer- _GLOBAL__sub_I_vtkLineIntegralConvolution2D_CE.cxx_ZStL8__ioinit_ZL28vtkDebugLeaksManagerInstance__dso_handle_ZNSt8ios_base4InitC1Ev_GLOBAL_OFFSET_TABLE__ZNSt8ios_base4InitD1Ev__cxa_atexit_ZN20vtkDebugLeaksManagerC1Ev_ZN20vtkDebugLeaksManagerD1Ev_Z38vtkRenderingOpenGL2_AutoInit_ConstructvvtkLineIntegralConvolution2D_CE  $* 16 > E*P \ .symtab.strtab.shstrtab.text.data.bss.rela.text.startup.rela.init_array.rodata.str1.8.rela.data.rel.local.comment.note.GNU-stack.note.gnu.property.rela.eh_frame@!@'@1@`,@@ D?@0 P2d_@H  t0,} @@` X Mx