123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- // 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 vec3 inVertex;\r\n"
- "attribute mediump vec3 inNormal;\r\n"
- "attribute mediump vec2 inTexCoord;\r\n"
- "\r\n"
- "uniform highp mat4 MVPMatrix;\r\n"
- "uniform mediump vec3 LightDirection;\r\n"
- "\r\n"
- "varying lowp float LightIntensity;\r\n"
- "varying mediump vec2 TexCoord;\r\n"
- "\r\n"
- "void main()\r\n"
- "{\r\n"
- "\t// Transform position\r\n"
- "\tgl_Position = MVPMatrix * vec4(inVertex, 1.0);\r\n"
- "\r\n"
- "\t// Pass through texcoords\r\n"
- "\tTexCoord = inTexCoord;\r\n"
- "\t\r\n"
- "\t// Simple diffuse lighting in model space\r\n"
- "\tLightIntensity = dot(inNormal, -LightDirection);\r\n"
- "}";
- // Register VertShader.vsh in memory file system at application startup time
- static CPVRTMemoryFileSystem RegisterFile_VertShader_vsh("VertShader.vsh", _VertShader_vsh, 503);
- // ******** 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,0xe1d1e64a,0x30050100,0x2501,0xd363e337,0x2000000,0x20000000,0x34030000,0x0,0x4000000,0x0,0x19000000,0x310202,0x0,0x1020015,0x0,0x0,0xbe010000,0x55535020,0x20,0x1b2,0x1,0x1,0x0,0x204,0x80,0x2,0x7d,0x0,0x8,0x0,0xffffffff,0x0,0x122000a,0xffff,0xb,0x0,0x0,0x14,0x0,0x0,0x0,0x0,0xfffc,0x0,0x0,0x0,0xffff0003,0xffffffff,0x120000,0x80000b,0x140002,0x0,0x150002,0x100000,0x160002,0x1,0x170002,0x100001,0x40001,0x2,0x50001,0x3,0x60001,
- 0x4,0x70001,0x5,0x80001,0x6,0x90001,0x7,0xa0001,0x8,0xb0001,0x9,0xc0001,0xa,0xd0001,0xb,0xe0001,0xc,0xf0001,0xd,0x100001,0xe,0x110001,0xf,0x120001,0x10,0x130001,0x11,0x737,0xffffffff,0xffffffff,0x0,0x0,0x4,0x20003,0xa0000,0x80010002,0x80018001,0x8001,0x0,0x0,0x0,0x10001,0x1,0x10001,0x2000001,0x1001a080,0x45428a1,0x2009b080,0x60d10e0,0x606f060,0x481138ab,0x606f060,0x8a153882,0x606f060,0x1a183882,0x1001701f,0x70f00a2,0x606f000,0x491338ab,0x606f000,0x8b173882,0x606f000,0x1a1a3882,0x1001705f,
- 0x600a2,0x18000000,0x803f,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x6e690800,0x74726556,0x7865,0x3040400,0x10000,0x100,0x70004,0x5f6c6700,0x69736f50,0x6e6f6974,0x5010000,0x305,0x1000001,0x40000,0x4d00000f,0x614d5056,0x78697274,0x16000000,0x303,0x1000001,0xff100400,0x540000ff,0x6f437865,0x64726f,0x5030000,0x1000002,0x10000,0x3000200,0x6e690000,0x43786554,0x64726f6f,0x3000000,0x204,0x1000001,0x40400,0x69000003,0x726f4e6e,0x6c616d,
- 0x4040000,0x1000002,0x10000,0x7000408,0x694c0000,0x44746867,0x63657269,0x6e6f6974,0x4000000,0x203,0x1000001,0x31400,0x4c000007,0x74686769,0x65746e49,0x7469736e,0x79,0x10502,0x100,0x1040001,0x100,0x0,
- };
- // Register VertShader.vsc in memory file system at application startup time
- static CPVRTMemoryFileSystem RegisterFile_VertShader_vsc("VertShader.vsc", _VertShader_vsc, 852);
- // ******** End: VertShader.vsc ********
|