Home | History | Annotate | Download | only in Content
      1 // This file was created by Filewrap 1.1
      2 // Little endian mode
      3 // DO NOT EDIT
      4 
      5 #include "../PVRTMemoryFileSystem.h"
      6 
      7 // using 32 bit to guarantee alignment.
      8 #ifndef A32BIT
      9  #define A32BIT static const unsigned int
     10 #endif
     11 
     12 // ******** Start: FragShader.fsh ********
     13 
     14 // File data
     15 static const char _FragShader_fsh[] =
     16 	"#version 300 es\n"
     17 	"\n"
     18 	"uniform  sampler2D     sTexture;\n"
     19 	"uniform  mediump sampler3D\t\tsColourLUT;\n"
     20 	"\n"
     21 	"in mediump vec2 texCoords;\n"
     22 	"layout(location = 0) out lowp vec4 oFragColour;\n"
     23 	"\n"
     24 	"void main()\n"
     25 	"{\n"
     26 	"    highp vec3 vCol = texture(sTexture, texCoords).rgb;\n"
     27 	"\tlowp vec3 vAlteredCol = texture(sColourLUT, vCol.rgb).rgb;\n"
     28 	"    oFragColour = vec4(vAlteredCol, 1.0);\n"
     29 	"}\n";
     30 
     31 // Register FragShader.fsh in memory file system at application startup time
     32 static CPVRTMemoryFileSystem RegisterFile_FragShader_fsh("FragShader.fsh", _FragShader_fsh, 341);
     33 
     34 // ******** End: FragShader.fsh ********
     35 
     36