1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- // 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: BaseVertShader.vsh ********
- // File data
- static const char _BaseVertShader_vsh[] =
- "/*\r\n"
- " Simple vertex shader:\r\n"
- " - standard vertex transformation\r\n"
- " - diffuse lighting for one directional light\r\n"
- " - texcoord passthrough\r\n"
- "*/\r\n"
- "\r\n"
- "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 LightPosModel;\r\n"
- "\r\n"
- "varying lowp float LightIntensity;\r\n"
- "varying mediump vec2 TexCoord;\r\n"
- "\r\n"
- "void main()\r\n"
- "{\r\n"
- "\tgl_Position = MVPMatrix * vec4(inVertex, 1.0);\r\n"
- "\t\r\n"
- "\tmediump vec3 lightDir = normalize(LightPosModel - inVertex);\r\n"
- "\tLightIntensity = max(0.0, dot(inNormal, lightDir));\r\n"
- "\t\r\n"
- "\tTexCoord = inTexCoord;\r\n"
- "}\r\n";
- // Register BaseVertShader.vsh in memory file system at application startup time
- static CPVRTMemoryFileSystem RegisterFile_BaseVertShader_vsh("BaseVertShader.vsh", _BaseVertShader_vsh, 620);
- // ******** End: BaseVertShader.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: BaseVertShader.vsc ********
- // File data
- A32BIT _BaseVertShader_vsc[] = {
- 0x10fab438,0xad077f72,0x30050100,0x2501,0xd363e337,0x2000000,0x20000000,0x97030000,0x0,0x4000000,0x0,0x19000000,0x3d160202,0x0,0x1020000,0x0,0xf0117,0x22020000,0x55535020,0x20,0x216,0x1,0x1,0x0,0x204,0x80,0x2,0x7d,0x0,0x8,0x0,0xffffffff,0x0,0x122000a,0xffff,0x2000a,0x0,0x0,0x14,0x0,0x0,0x0,0x0,0xfffc,0x0,0x0,0x0,0xffff0003,0xffffffff,0x120000,0x80000a,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,0x377,0xffffffff,0xffffffff,0x0,0x0,0x4,0x20003,0x140000,0x80010002,0x80018001,0x8001,0x0,0x0,0x0,0x0,0x0,0x0,0x10001,0x1,0x10001,0x1,0x1,0x1a540000,0x10847020,0x5a5500c2,0x108570c0,0x9a5600c2,0x108670e0,0x430600c2,0x14025060,0xc3830080,0x1006a061,0x1800080,0x12008000,0xc0300880,0x100610e1,0x4000081,
- 0x1001a080,0x60d28a1,0x606f060,0x481138ab,0x606f060,0x8a153882,0x606f060,0x1a183882,0x1001701f,0x70f00a2,0x606f000,0x491338ab,0x606f000,0x8b173882,0x606f000,0x1a1a3882,0x1001705f,0x8600a2,0x6021000,0x420038ab,0xc006a001,0x838038a0,0x1006a001,0x18000080,0x120160c0,0x61882,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,0x4c0000ff,0x74686769,0x4d736f50,0x6c65646f,0x4000000,0x203,0x1000001,0x31400,0x69000007,0x726f4e6e,0x6c616d,0x4040000,0x1000002,0x10000,0x7000404,0x694c0000,0x49746867,0x6e65746e,0x79746973,0x2000000,0x105,0x1000001,0x10400,0x54000001,0x6f437865,0x64726f,0x5030000,0x1000002,0x10000,0x3000200,0x6e690000,0x43786554,0x64726f6f,0x3000000,0x204,0x1000001,0x40800,0x3,
- };
- // Register BaseVertShader.vsc in memory file system at application startup time
- static CPVRTMemoryFileSystem RegisterFile_BaseVertShader_vsc("BaseVertShader.vsc", _BaseVertShader_vsc, 951);
- // ******** End: BaseVertShader.vsc ********
|