1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- // This file was created by Filewrap 1.1
- // Little endian mode
- // DO NOT EDIT
- #include "../PVRTMemoryFileSystem.h"
- // using 32 bit to guarantee alignment.
- #ifndef A32BIT
- #define A32BIT static const unsigned int
- #endif
- // ******** Start: VertShader.vsh ********
- // File data
- static const char _VertShader_vsh[] =
- "attribute highp vec4 inVertex;\r\n"
- "attribute highp vec3 inNormal;\r\n"
- "attribute highp vec2 inTexCoord;\r\n"
- "\r\n"
- "uniform highp mat4 MVPMatrix;\r\n"
- "uniform highp vec3 LightDirection;\r\n"
- "uniform highp float MaterialBias;\r\n"
- "uniform highp float MaterialScale;\r\n"
- "\r\n"
- "varying lowp vec3 DiffuseLight;\r\n"
- "varying lowp vec3 SpecularLight;\r\n"
- "varying mediump vec2 TexCoord;\r\n"
- "\r\n"
- "void main()\r\n"
- "{\r\n"
- "\tgl_Position = MVPMatrix * inVertex;\r\n"
- "\t\r\n"
- "\tDiffuseLight = vec3(max(dot(inNormal, LightDirection), 0.0));\r\n"
- "\tSpecularLight = vec3(max((DiffuseLight.x - MaterialBias) * MaterialScale, 0.0));\r\n"
- "\t\r\n"
- "\tTexCoord = inTexCoord;\r\n"
- "}\r\n";
- // Register VertShader.vsh in memory file system at application startup time
- static CPVRTMemoryFileSystem RegisterFile_VertShader_vsh("VertShader.vsh", _VertShader_vsh, 588);
- // ******** End: VertShader.vsh ********
- // This file was created by Filewrap 1.1
- // Little endian mode
- // DO NOT EDIT
- #include "../PVRTMemoryFileSystem.h"
- // using 32 bit to guarantee alignment.
- #ifndef A32BIT
- #define A32BIT static const unsigned int
- #endif
- // ******** Start: VertShader.vsc ********
- // File data
- A32BIT _VertShader_vsc[] = {
- 0x10fab438,0x5f13645d,0x30050100,0x2501,0xd363e337,0x2000000,0x20000000,0x19040000,0x0,0x4000000,0x0,0x39000000,0x20303,0x0,0x1010000,0x2,0x0,0x46020000,0x55535020,0x20,0x23a,0x1,0x1,0x0,0x204,0x80,0x2,0x7d,0x0,0x8,0x0,0xffffffff,0x0,0x122000a,0xffff,0xa,0x0,0x0,0x15,0x0,0x0,0x0,0x0,0xfffc,0x0,0x0,0x0,0xffff0003,0xffffffff,0x150000,0x80000a,0x1,0x0,0x10001,0x1,0x20001,0x2,0x30001,0x3,0x40001,0x4,0x50001,0x5,0x60001,
- 0x6,0x70001,0x7,0x80001,0x8,0x90001,0x9,0xa0001,0xa,0xb0001,0xb,0xc0001,0xc,0xd0001,0xd,0xe0001,0xe,0xf0001,0xf,0x100001,0x10,0x110001,0x11,0x120001,0x12,0x140001,0x13,0x150001,0x14,0x37f,0xffffffff,0xffffffff,0x0,0x0,0x4,0x20003,0x10000,0x80010002,0x80018001,0x8001,0x0,0x0,0xa1400400,0x28a11001,0x2,0x20002,0x80018000,0x80048004,0x0,0x0,0x4,0x10404,0xfa100000,0xf000050b,0x10a83205,0x2,0x2000f,0x80018001,0x80018001,0x0,0x0,0x10005,0x10001,0x10001,
- 0x1,0x0,0x0,0x0,0x1010000,0x101,0x60dfa10,0x605f020,0x48113898,0x606f000,0x8a153882,0x606f000,0xcc193882,0x205f040,0x1a38a2,0x205b061,0x4d813898,0x1006f001,0x8e000081,0x1006e001,0x300080,0x12019080,0x2001881,0x100160a0,0x20028a1,0x10026000,0x1a1d2881,0x100e7000,0xf300082,0x1006d020,0xb00081,0x120190e0,0x3801881,0x10016100,0x628a1,0x18000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x6c670b00,0x736f505f,0x6f697469,0x100006e,
- 0x30505,0x100,0x4000001,0xf00,0x4d50564d,0x69727461,0x78,0x30316,0x100,0x10000001,0xffff,0x65566e69,0x78657472,0x5000000,0x304,0x1000001,0x40000,0x6900000f,0x726f4e6e,0x6c616d,0x4040000,0x1000003,0x10000,0x7000404,0x694c0000,0x44746867,0x63657269,0x6e6f6974,0x4000000,0x303,0x1000001,0x31000,0x44000007,0x75666669,0x694c6573,0x746867,0x5040000,0x1000001,0x10000,0x7000300,0x614d0000,0x69726574,0x69426c61,0x7361,0x3030200,0x10000,0x14000100,0x10001,0x74614d00,0x61697265,0x6163536c,0x656c,0x3030200,0x10000,0x15000100,0x10001,0x65705300,0x616c7563,0x67694c72,0x7468,0x1050400,0x10000,0x4000100,0x70003,
- 0x78655400,0x726f6f43,0x64,0x20503,0x100,0x2080001,0x300,0x65546e69,0x6f6f4378,0x6472,0x3040300,0x10000,0x8000100,0x30004,0x0,
- };
- // Register VertShader.vsc in memory file system at application startup time
- static CPVRTMemoryFileSystem RegisterFile_VertShader_vsc("VertShader.vsc", _VertShader_vsc, 1081);
- // ******** End: VertShader.vsc ********
|