Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .texcoord[1].x, R1, c[13];
- DP4 result.texcoord[2].z, R1, c[19];
- DP4 result.texcoord[2].y, R1, c[18];
- DP4 result.texcoord[2].x, R1, c[17];
- DP4 result.texcoord[3].z, R1, c[23];
- DP4 result.texcoord[3].y, R1, c[22];
- DP4 result.texcoord[3].x, R1, c[21];
- MOV result.texcoord[4], R0;
- DP4 result.position.w, vertex.position, c[8];
- DP4 result.position.z, vertex.position, c[7];
- DP4 result.position.y, vertex.position, c[6];
- DP4 result.position.x, vertex.position, c[5];
- END
- # 24 instructions, 2 R-regs
- "
- }
- }
- Program "fp" {
- SubProgram "opengl " {
- Keywords { "SHADOWS_NONATIVE" }
- Vector 0 [_ProjectionParams]
- Vector 1 [_LightSplitsNear]
- Vector 2 [_LightSplitsFar]
- Vector 3 [_LightShadowData]
- SetTexture 0 [_ShadowMapTexture] 2D 0
- "!!ARBfp1.0
- PARAM c[5] = { program.local[0..3],
- { 1, 255, 0.0039215689 } };
- TEMP R0;
- TEMP R1;
- SLT R1, fragment.texcoord[4].w, c[2];
- SGE R0, fragment.texcoord[4].w, c[1];
- MUL R0, R0, R1;
- MUL R1.xyz, R0.y, fragment.texcoord[1];
- MAD R1.xyz, R0.x, fragment.texcoord[0], R1;
- MAD R0.xyz, R0.z, fragment.texcoord[2], R1;
- MAD R0.xyz, fragment.texcoord[3], R0.w, R0;
- MAD_SAT R1.y, fragment.texcoord[4].w, c[3].z, c[3].w;
- MOV result.color.y, c[4].x;
- TEX R0.x, R0, texture[0], 2D;
- ADD R0.z, R0.x, -R0;
- MOV R0.x, c[4];
- CMP R1.x, R0.z, c[3], R0;
- MUL R0.y, -fragment.texcoord[4].w, c[0].w;
- ADD R0.y, R0, c[4].x;
- MUL R0.xy, R0.y, c[4];
- FRC R0.zw, R0.xyxy;
- MOV R0.y, R0.w;
- MAD R0.x, -R0.w, c[4].z, R0.z;
- ADD_SAT result.color.x, R1, R1.y;
- MOV result.color.zw, R0.xyxy;
- END
- # 21 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "SHADOWS_NATIVE" }
- Vector 0 [_ProjectionParams]
- Vector 1 [_LightSplitsNear]
- Vector 2 [_LightSplitsFar]
- Vector 3 [_LightShadowData]
- SetTexture 0 [_ShadowMapTexture] 2D 0
- "!!ARBfp1.0
- OPTION ARB_fragment_program_shadow;
- PARAM c[5] = { program.local[0..3],
- { 1, 255, 0.0039215689 } };
- TEMP R0;
- TEMP R1;
- SLT R1, fragment.texcoord[4].w, c[2];
- SGE R0, fragment.texcoord[4].w, c[1];
- MUL R0, R0, R1;
- MUL R1.xyz, R0.y, fragment.texcoord[1];
- MAD R1.xyz, R0.x, fragment.texcoord[0], R1;
- MAD R0.xyz, R0.z, fragment.texcoord[2], R1;
- MAD R0.xyz, fragment.texcoord[3], R0.w, R0;
- MAD_SAT R1.y, fragment.texcoord[4].w, c[3].z, c[3].w;
- MOV result.color.y, c[4].x;
- TEX R0.x, R0, texture[0], SHADOW2D;
- MOV R0.y, c[4].x;
- ADD R0.w, R0.y, -c[3].x;
- MAD R1.x, R0, R0.w, c[3];
- MUL R0.z, -fragment.texcoord[4].w, c[0].w;
- ADD R0.y, R0.z, c[4].x;
- MUL R0.xy, R0.y, c[4];
- FRC R0.zw, R0.xyxy;
- MOV R0.y, R0.w;
- MAD R0.x, -R0.w, c[4].z, R0.z;
- ADD_SAT result.color.x, R1, R1.y;
- MOV result.color.zw, R0.xyxy;
- END
- # 21 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "SHADOWS_SPLIT_SPHERES" "SHADOWS_NONATIVE" }
- Vector 0 [_ProjectionParams]
- Vector 1 [unity_ShadowSplitSpheres0]
- Vector 2 [unity_ShadowSplitSpheres1]
- Vector 3 [unity_ShadowSplitSpheres2]
- Vector 4 [unity_ShadowSplitSpheres3]
- Vector 5 [unity_ShadowSplitSqRadii]
- Vector 6 [_LightShadowData]
- Vector 7 [unity_ShadowFadeCenterAndType]
- SetTexture 0 [_ShadowMapTexture] 2D 0
- "!!ARBfp1.0
- PARAM c[9] = { program.local[0..7],
- { 1, 255, 0.0039215689 } };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- ADD R0.xyz, fragment.texcoord[4], -c[1];
- ADD R2.xyz, fragment.texcoord[4], -c[4];
- DP3 R0.x, R0, R0;
- ADD R1.xyz, fragment.texcoord[4], -c[2];
- DP3 R0.y, R1, R1;
- ADD R1.xyz, fragment.texcoord[4], -c[3];
- DP3 R0.w, R2, R2;
- DP3 R0.z, R1, R1;
- SLT R2, R0, c[5];
- ADD_SAT R0.xyz, R2.yzww, -R2;
- MUL R1.xyz, R0.x, fragment.texcoord[1];
- MAD R1.xyz, R2.x, fragment.texcoord[0], R1;
- MAD R1.xyz, R0.y, fragment.texcoord[2], R1;
- MAD R0.xyz, fragment.texcoord[3], R0.z, R1;
- ADD R1.xyz, -fragment.texcoord[4], c[7];
- MOV result.color.y, c[8].x;
- TEX R0.x, R0, texture[0], 2D;
- ADD R0.y, R0.x, -R0.z;
- DP3 R0.z, R1, R1;
- RSQ R0.z, R0.z;
- MOV R0.x, c[8];
- CMP R0.x, R0.y, c[6], R0;
- MUL R0.y, -fragment.texcoord[4].w, c[0].w;
- ADD R0.y, R0, c[8].x;
- RCP R1.x, R0.z;
- MUL R0.zw, R0.y, c[8].xyxy;
- MAD_SAT R0.y, R1.x, c[6].z, c[6].w;
- FRC R0.zw, R0;
- ADD_SAT result.color.x, R0, R0.y;
- MOV R0.y, R0.w;
- MAD R0.x, -R0.w, c[8].z, R0.z;
- MOV result.color.zw, R0.xyxy;
- END
- # 32 instructions, 3 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "SHADOWS_SPLIT_SPHERES" "SHADOWS_NATIVE" }
- Vector 0 [_ProjectionParams]
- Vector 1 [unity_ShadowSplitSpheres0]
- Vector 2 [unity_ShadowSplitSpheres1]
- Vector 3 [unity_ShadowSplitSpheres2]
- Vector 4 [unity_ShadowSplitSpheres3]
- Vector 5 [unity_ShadowSplitSqRadii]
- Vector 6 [_LightShadowData]
- Vector 7 [unity_ShadowFadeCenterAndType]
- SetTexture 0 [_ShadowMapTexture] 2D 0
- "!!ARBfp1.0
- OPTION ARB_fragment_program_shadow;
- PARAM c[9] = { program.local[0..7],
- { 1, 255, 0.0039215689 } };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- ADD R0.xyz, fragment.texcoord[4], -c[1];
- ADD R2.xyz, fragment.texcoord[4], -c[4];
- DP3 R0.x, R0, R0;
- ADD R1.xyz, fragment.texcoord[4], -c[2];
- DP3 R0.y, R1, R1;
- ADD R1.xyz, fragment.texcoord[4], -c[3];
- DP3 R0.w, R2, R2;
- DP3 R0.z, R1, R1;
- SLT R2, R0, c[5];
- ADD_SAT R0.xyz, R2.yzww, -R2;
- MUL R1.xyz, R0.x, fragment.texcoord[1];
- MAD R1.xyz, R2.x, fragment.texcoord[0], R1;
- MAD R1.xyz, R0.y, fragment.texcoord[2], R1;
- MAD R0.xyz, fragment.texcoord[3], R0.z, R1;
- ADD R1.xyz, -fragment.texcoord[4], c[7];
- MOV result.color.y, c[8].x;
- TEX R0.x, R0, texture[0], SHADOW2D;
- DP3 R0.z, R1, R1;
- RSQ R0.z, R0.z;
- MOV R0.y, c[8].x;
- ADD R0.y, R0, -c[6].x;
- MAD R0.x, R0, R0.y, c[6];
- MUL R0.y, -fragment.texcoord[4].w, c[0].w;
- ADD R0.y, R0, c[8].x;
- RCP R1.x, R0.z;
- MUL R0.zw, R0.y, c[8].xyxy;
- MAD_SAT R0.y, R1.x, c[6].z, c[6].w;
- FRC R0.zw, R0;
- ADD_SAT result.color.x, R0, R0.y;
- MOV R0.y, R0.w;
- MAD R0.x, -R0.w, c[8].z, R0.z;
- MOV result.color.zw, R0.xyxy;
- END
- # 32 instructions, 3 R-regs
- "
- }
- }
- }
- }
- } Normal-Diffuse �� Shader "Diffuse" {
- Properties {
- _Color ("Main Color", Color) = (1,1,1,1)
- _MainTex ("Base (RGB)", 2D) = "white" {}
- }
- SubShader {
- LOD 200
- Tags { "RenderType"="Opaque" }
- Pass {
- Name "FORWARD"
- Tags { "LIGHTMODE"="ForwardBase" "SHADOWSUPPORT"="true" "RenderType"="Opaque" }
- Program "vp" {
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Vector 9 [unity_SHAr]
- Vector 10 [unity_SHAg]
- Vector 11 [unity_SHAb]
- Vector 12 [unity_SHBr]
- Vector 13 [unity_SHBg]
- Vector 14 [unity_SHBb]
- Vector 15 [unity_SHC]
- Vector 16 [unity_Scale]
- Vector 17 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[18] = { { 1 },
- state.matrix.mvp,
- program.local[5..17] };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- MUL R1.xyz, vertex.normal, c[16].w;
- DP3 R3.w, R1, c[6];
- DP3 R2.w, R1, c[7];
- DP3 R0.x, R1, c[5];
- MOV R0.y, R3.w;
- MOV R0.z, R2.w;
- MUL R1, R0.xyzz, R0.yzzx;
- MOV R0.w, c[0].x;
- DP4 R2.z, R0, c[11];
- DP4 R2.y, R0, c[10];
- DP4 R2.x, R0, c[9];
- MUL R0.y, R3.w, R3.w;
- DP4 R3.z, R1, c[14];
- DP4 R3.y, R1, c[13];
- DP4 R3.x, R1, c[12];
- MAD R0.y, R0.x, R0.x, -R0;
- MUL R1.xyz, R0.y, c[15];
- ADD R2.xyz, R2, R3;
- ADD result.texcoord[2].xyz, R2, R1;
- MOV result.texcoord[1].z, R2.w;
- MOV result.texcoord[1].y, R3.w;
- MOV result.texcoord[1].x, R0;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[17], c[17].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 27 instructions, 4 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_ON" "DIRLIGHTMAP_OFF" }
- Bind "vertex" Vertex
- Bind "texcoord" TexCoord0
- Bind "texcoord1" TexCoord1
- Vector 9 [unity_LightmapST]
- Vector 10 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[11] = { program.local[0],
- state.matrix.mvp,
- program.local[5..10] };
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[10], c[10].zwzw;
- MAD result.texcoord[1].xy, vertex.texcoord[1], c[9], c[9].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 6 instructions, 0 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_ON" "DIRLIGHTMAP_ON" }
- Bind "vertex" Vertex
- Bind "texcoord" TexCoord0
- Bind "texcoord1" TexCoord1
- Vector 9 [unity_LightmapST]
- Vector 10 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[11] = { program.local[0],
- state.matrix.mvp,
- program.local[5..10] };
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[10], c[10].zwzw;
- MAD result.texcoord[1].xy, vertex.texcoord[1], c[9], c[9].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 6 instructions, 0 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Vector 9 [_ProjectionParams]
- Vector 10 [unity_SHAr]
- Vector 11 [unity_SHAg]
- Vector 12 [unity_SHAb]
- Vector 13 [unity_SHBr]
- Vector 14 [unity_SHBg]
- Vector 15 [unity_SHBb]
- Vector 16 [unity_SHC]
- Vector 17 [unity_Scale]
- Vector 18 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[19] = { { 1, 0.5 },
- state.matrix.mvp,
- program.local[5..18] };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- MUL R0.xyz, vertex.normal, c[17].w;
- DP3 R3.w, R0, c[6];
- DP3 R2.w, R0, c[7];
- DP3 R1.w, R0, c[5];
- MOV R1.x, R3.w;
- MOV R1.y, R2.w;
- MOV R1.z, c[0].x;
- MUL R0, R1.wxyy, R1.xyyw;
- DP4 R2.z, R1.wxyz, c[12];
- DP4 R2.y, R1.wxyz, c[11];
- DP4 R2.x, R1.wxyz, c[10];
- DP4 R1.z, R0, c[15];
- DP4 R1.y, R0, c[14];
- DP4 R1.x, R0, c[13];
- MUL R3.x, R3.w, R3.w;
- MAD R0.x, R1.w, R1.w, -R3;
- ADD R3.xyz, R2, R1;
- MUL R2.xyz, R0.x, c[16];
- DP4 R0.w, vertex.position, c[4];
- DP4 R0.z, vertex.position, c[3];
- DP4 R0.x, vertex.position, c[1];
- DP4 R0.y, vertex.position, c[2];
- MUL R1.xyz, R0.xyww, c[0].y;
- MUL R1.y, R1, c[9].x;
- ADD result.texcoord[2].xyz, R3, R2;
- ADD result.texcoord[3].xy, R1, R1.z;
- MOV result.position, R0;
- MOV result.texcoord[3].zw, R0;
- MOV result.texcoord[1].z, R2.w;
- MOV result.texcoord[1].y, R3.w;
- MOV result.texcoord[1].x, R1.w;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[18], c[18].zwzw;
- END
- # 32 instructions, 4 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_ON" "DIRLIGHTMAP_OFF" }
- Bind "vertex" Vertex
- Bind "texcoord" TexCoord0
- Bind "texcoord1" TexCoord1
- Vector 9 [_ProjectionParams]
- Vector 10 [unity_LightmapST]
- Vector 11 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[12] = { { 0.5 },
- state.matrix.mvp,
- program.local[5..11] };
- TEMP R0;
- TEMP R1;
- DP4 R0.w, vertex.position, c[4];
- DP4 R0.z, vertex.position, c[3];
- DP4 R0.x, vertex.position, c[1];
- DP4 R0.y, vertex.position, c[2];
- MUL R1.xyz, R0.xyww, c[0].x;
- MUL R1.y, R1, c[9].x;
- ADD result.texcoord[2].xy, R1, R1.z;
- MOV result.position, R0;
- MOV result.texcoord[2].zw, R0;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[11], c[11].zwzw;
- MAD result.texcoord[1].xy, vertex.texcoord[1], c[10], c[10].zwzw;
- END
- # 11 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_ON" "DIRLIGHTMAP_ON" }
- Bind "vertex" Vertex
- Bind "texcoord" TexCoord0
- Bind "texcoord1" TexCoord1
- Vector 9 [_ProjectionParams]
- Vector 10 [unity_LightmapST]
- Vector 11 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[12] = { { 0.5 },
- state.matrix.mvp,
- program.local[5..11] };
- TEMP R0;
- TEMP R1;
- DP4 R0.w, vertex.position, c[4];
- DP4 R0.z, vertex.position, c[3];
- DP4 R0.x, vertex.position, c[1];
- DP4 R0.y, vertex.position, c[2];
- MUL R1.xyz, R0.xyww, c[0].x;
- MUL R1.y, R1, c[9].x;
- ADD result.texcoord[2].xy, R1, R1.z;
- MOV result.position, R0;
- MOV result.texcoord[2].zw, R0;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[11], c[11].zwzw;
- MAD result.texcoord[1].xy, vertex.texcoord[1], c[10], c[10].zwzw;
- END
- # 11 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "VERTEXLIGHT_ON" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Vector 9 [unity_4LightPosX0]
- Vector 10 [unity_4LightPosY0]
- Vector 11 [unity_4LightPosZ0]
- Vector 12 [unity_4LightAtten0]
- Vector 13 [unity_LightColor0]
- Vector 14 [unity_LightColor1]
- Vector 15 [unity_LightColor2]
- Vector 16 [unity_LightColor3]
- Vector 17 [unity_SHAr]
- Vector 18 [unity_SHAg]
- Vector 19 [unity_SHAb]
- Vector 20 [unity_SHBr]
- Vector 21 [unity_SHBg]
- Vector 22 [unity_SHBb]
- Vector 23 [unity_SHC]
- Vector 24 [unity_Scale]
- Vector 25 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[26] = { { 1, 0 },
- state.matrix.mvp,
- program.local[5..25] };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- TEMP R4;
- MUL R3.xyz, vertex.normal, c[24].w;
- DP3 R4.x, R3, c[5];
- DP3 R3.w, R3, c[6];
- DP3 R3.x, R3, c[7];
- DP4 R0.x, vertex.position, c[6];
- ADD R1, -R0.x, c[10];
- MUL R2, R3.w, R1;
- DP4 R0.x, vertex.position, c[5];
- ADD R0, -R0.x, c[9];
- MUL R1, R1, R1;
- MOV R4.z, R3.x;
- MOV R4.w, c[0].x;
- MAD R2, R4.x, R0, R2;
- DP4 R4.y, vertex.position, c[7];
- MAD R1, R0, R0, R1;
- ADD R0, -R4.y, c[11];
- MAD R1, R0, R0, R1;
- MAD R0, R3.x, R0, R2;
- MUL R2, R1, c[12];
- MOV R4.y, R3.w;
- RSQ R1.x, R1.x;
- RSQ R1.y, R1.y;
- RSQ R1.w, R1.w;
- RSQ R1.z, R1.z;
- MUL R0, R0, R1;
- ADD R1, R2, c[0].x;
- DP4 R2.z, R4, c[19];
- DP4 R2.y, R4, c[18];
- DP4 R2.x, R4, c[17];
- RCP R1.x, R1.x;
- RCP R1.y, R1.y;
- RCP R1.w, R1.w;
- RCP R1.z, R1.z;
- MAX R0, R0, c[0].y;
- MUL R0, R0, R1;
- MUL R1.xyz, R0.y, c[14];
- MAD R1.xyz, R0.x, c[13], R1;
- MAD R0.xyz, R0.z, c[15], R1;
- MAD R1.xyz, R0.w, c[16], R0;
- MUL R0, R4.xyzz, R4.yzzx;
- MUL R1.w, R3, R3;
- DP4 R4.w, R0, c[22];
- DP4 R4.z, R0, c[21];
- DP4 R4.y, R0, c[20];
- MAD R1.w, R4.x, R4.x, -R1;
- MUL R0.xyz, R1.w, c[23];
- ADD R2.xyz, R2, R4.yzww;
- ADD R0.xyz, R2, R0;
- ADD result.texcoord[2].xyz, R0, R1;
- MOV result.texcoord[1].z, R3.x;
- MOV result.texcoord[1].y, R3.w;
- MOV result.texcoord[1].x, R4;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[25], c[25].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 57 instructions, 5 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "VERTEXLIGHT_ON" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Vector 9 [_ProjectionParams]
- Vector 10 [unity_4LightPosX0]
- Vector 11 [unity_4LightPosY0]
- Vector 12 [unity_4LightPosZ0]
- Vector 13 [unity_4LightAtten0]
- Vector 14 [unity_LightColor0]
- Vector 15 [unity_LightColor1]
- Vector 16 [unity_LightColor2]
- Vector 17 [unity_LightColor3]
- Vector 18 [unity_SHAr]
- Vector 19 [unity_SHAg]
- Vector 20 [unity_SHAb]
- Vector 21 [unity_SHBr]
- Vector 22 [unity_SHBg]
- Vector 23 [unity_SHBb]
- Vector 24 [unity_SHC]
- Vector 25 [unity_Scale]
- Vector 26 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[27] = { { 1, 0, 0.5 },
- state.matrix.mvp,
- program.local[5..26] };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- TEMP R4;
- MUL R3.xyz, vertex.normal, c[25].w;
- DP3 R4.x, R3, c[5];
- DP3 R3.w, R3, c[6];
- DP3 R3.x, R3, c[7];
- DP4 R0.x, vertex.position, c[6];
- ADD R1, -R0.x, c[11];
- MUL R2, R3.w, R1;
- DP4 R0.x, vertex.position, c[5];
- ADD R0, -R0.x, c[10];
- MUL R1, R1, R1;
- MOV R4.z, R3.x;
- MOV R4.w, c[0].x;
- MAD R2, R4.x, R0, R2;
- DP4 R4.y, vertex.position, c[7];
- MAD R1, R0, R0, R1;
- ADD R0, -R4.y, c[12];
- MAD R1, R0, R0, R1;
- MAD R0, R3.x, R0, R2;
- MUL R2, R1, c[13];
- MOV R4.y, R3.w;
- RSQ R1.x, R1.x;
- RSQ R1.y, R1.y;
- RSQ R1.w, R1.w;
- RSQ R1.z, R1.z;
- MUL R0, R0, R1;
- ADD R1, R2, c[0].x;
- DP4 R2.z, R4, c[20];
- DP4 R2.y, R4, c[19];
- DP4 R2.x, R4, c[18];
- RCP R1.x, R1.x;
- RCP R1.y, R1.y;
- RCP R1.w, R1.w;
- RCP R1.z, R1.z;
- MAX R0, R0, c[0].y;
- MUL R0, R0, R1;
- MUL R1.xyz, R0.y, c[15];
- MAD R1.xyz, R0.x, c[14], R1;
- MAD R0.xyz, R0.z, c[16], R1;
- MAD R1.xyz, R0.w, c[17], R0;
- MUL R0, R4.xyzz, R4.yzzx;
- MUL R1.w, R3, R3;
- DP4 R4.w, R0, c[23];
- DP4 R4.z, R0, c[22];
- DP4 R4.y, R0, c[21];
- MAD R1.w, R4.x, R4.x, -R1;
- MUL R0.xyz, R1.w, c[24];
- ADD R2.xyz, R2, R4.yzww;
- ADD R4.yzw, R2.xxyz, R0.xxyz;
- DP4 R0.w, vertex.position, c[4];
- DP4 R0.z, vertex.position, c[3];
- DP4 R0.x, vertex.position, c[1];
- DP4 R0.y, vertex.position, c[2];
- MUL R2.xyz, R0.xyww, c[0].z;
- ADD result.texcoord[2].xyz, R4.yzww, R1;
- MOV R1.x, R2;
- MUL R1.y, R2, c[9].x;
- ADD result.texcoord[3].xy, R1, R2.z;
- MOV result.position, R0;
- MOV result.texcoord[3].zw, R0;
- MOV result.texcoord[1].z, R3.x;
- MOV result.texcoord[1].y, R3.w;
- MOV result.texcoord[1].x, R4;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[26], c[26].zwzw;
- END
- # 63 instructions, 5 R-regs
- "
- }
- }
- Program "fp" {
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" }
- Vector 0 [_WorldSpaceLightPos0]
- Vector 1 [_LightColor0]
- Vector 2 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- "!!ARBfp1.0
- PARAM c[4] = { program.local[0..2],
- { 0, 2 } };
- TEMP R0;
- TEMP R1;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- MUL R0, R0, c[2];
- MUL R1.xyz, R0, fragment.texcoord[2];
- DP3 R1.w, fragment.texcoord[1], c[0];
- MUL R0.xyz, R0, c[1];
- MAX R1.w, R1, c[3].x;
- MUL R0.xyz, R1.w, R0;
- MAD result.color.xyz, R0, c[3].y, R1;
- MOV result.color.w, R0;
- END
- # 9 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_ON" "DIRLIGHTMAP_OFF" }
- Vector 0 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [unity_Lightmap] 2D 1
- "!!ARBfp1.0
- PARAM c[2] = { program.local[0],
- { 8 } };
- TEMP R0;
- TEMP R1;
- TEX R1, fragment.texcoord[1], texture[1], 2D;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- MUL R0, R0, c[0];
- MUL R1.xyz, R1.w, R1;
- MUL R0.xyz, R0, R1;
- MUL result.color.xyz, R0, c[1].x;
- MOV result.color.w, R0;
- END
- # 7 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_ON" "DIRLIGHTMAP_ON" }
- Vector 0 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [unity_Lightmap] 2D 1
- "!!ARBfp1.0
- PARAM c[2] = { program.local[0],
- { 8 } };
- TEMP R0;
- TEMP R1;
- TEX R1, fragment.texcoord[1], texture[1], 2D;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- MUL R0, R0, c[0];
- MUL R1.xyz, R1.w, R1;
- MUL R0.xyz, R0, R1;
- MUL result.color.xyz, R0, c[1].x;
- MOV result.color.w, R0;
- END
- # 7 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" }
- Vector 0 [_WorldSpaceLightPos0]
- Vector 1 [_LightColor0]
- Vector 2 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_ShadowMapTexture] 2D 1
- "!!ARBfp1.0
- PARAM c[4] = { program.local[0..2],
- { 0, 2 } };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- TXP R2.x, fragment.texcoord[3], texture[1], 2D;
- MUL R0, R0, c[2];
- MUL R1.xyz, R0, fragment.texcoord[2];
- DP3 R1.w, fragment.texcoord[1], c[0];
- MAX R1.w, R1, c[3].x;
- MUL R0.xyz, R0, c[1];
- MUL R1.w, R1, R2.x;
- MUL R0.xyz, R1.w, R0;
- MAD result.color.xyz, R0, c[3].y, R1;
- MOV result.color.w, R0;
- END
- # 11 instructions, 3 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_ON" "DIRLIGHTMAP_OFF" }
- Vector 0 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_ShadowMapTexture] 2D 1
- SetTexture 2 [unity_Lightmap] 2D 2
- "!!ARBfp1.0
- PARAM c[2] = { program.local[0],
- { 8, 2 } };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- TEX R2, fragment.texcoord[1], texture[2], 2D;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- TXP R3.x, fragment.texcoord[2], texture[1], 2D;
- MUL R1.xyz, R2.w, R2;
- MUL R2.xyz, R2, R3.x;
- MUL R1.xyz, R1, c[1].x;
- MUL R0, R0, c[0];
- MUL R3.xyz, R1, R3.x;
- MUL R2.xyz, R2, c[1].y;
- MIN R1.xyz, R1, R2;
- MAX R1.xyz, R1, R3;
- MUL result.color.xyz, R0, R1;
- MOV result.color.w, R0;
- END
- # 13 instructions, 4 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_ON" "DIRLIGHTMAP_ON" }
- Vector 0 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_ShadowMapTexture] 2D 1
- SetTexture 2 [unity_Lightmap] 2D 2
- "!!ARBfp1.0
- PARAM c[2] = { program.local[0],
- { 8, 2 } };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- TEX R2, fragment.texcoord[1], texture[2], 2D;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- TXP R3.x, fragment.texcoord[2], texture[1], 2D;
- MUL R1.xyz, R2.w, R2;
- MUL R2.xyz, R2, R3.x;
- MUL R1.xyz, R1, c[1].x;
- MUL R0, R0, c[0];
- MUL R3.xyz, R1, R3.x;
- MUL R2.xyz, R2, c[1].y;
- MIN R1.xyz, R1, R2;
- MAX R1.xyz, R1, R3;
- MUL result.color.xyz, R0, R1;
- MOV result.color.w, R0;
- END
- # 13 instructions, 4 R-regs
- "
- }
- }
- }
- Pass {
- Name "FORWARD"
- Tags { "LIGHTMODE"="ForwardAdd" "RenderType"="Opaque" }
- ZWrite Off
- Fog {
- Color (0,0,0,0)
- }
- Blend One One
- Program "vp" {
- SubProgram "opengl " {
- Keywords { "POINT" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Matrix 9 [_LightMatrix0]
- Vector 13 [_WorldSpaceLightPos0]
- Vector 14 [unity_Scale]
- Vector 15 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[16] = { program.local[0],
- state.matrix.mvp,
- program.local[5..15] };
- TEMP R0;
- TEMP R1;
- MUL R1.xyz, vertex.normal, c[14].w;
- DP4 R0.z, vertex.position, c[7];
- DP4 R0.x, vertex.position, c[5];
- DP4 R0.y, vertex.position, c[6];
- DP4 R0.w, vertex.position, c[8];
- DP4 result.texcoord[3].z, R0, c[11];
- DP4 result.texcoord[3].y, R0, c[10];
- DP4 result.texcoord[3].x, R0, c[9];
- DP3 result.texcoord[1].z, R1, c[7];
- DP3 result.texcoord[1].y, R1, c[6];
- DP3 result.texcoord[1].x, R1, c[5];
- ADD result.texcoord[2].xyz, -R0, c[13];
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[15], c[15].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 17 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Vector 9 [_WorldSpaceLightPos0]
- Vector 10 [unity_Scale]
- Vector 11 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[12] = { program.local[0],
- state.matrix.mvp,
- program.local[5..11] };
- TEMP R0;
- MUL R0.xyz, vertex.normal, c[10].w;
- DP3 result.texcoord[1].z, R0, c[7];
- DP3 result.texcoord[1].y, R0, c[6];
- DP3 result.texcoord[1].x, R0, c[5];
- MOV result.texcoord[2].xyz, c[9];
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[11], c[11].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 10 instructions, 1 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "SPOT" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Matrix 9 [_LightMatrix0]
- Vector 13 [_WorldSpaceLightPos0]
- Vector 14 [unity_Scale]
- Vector 15 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[16] = { program.local[0],
- state.matrix.mvp,
- program.local[5..15] };
- TEMP R0;
- TEMP R1;
- MUL R1.xyz, vertex.normal, c[14].w;
- DP4 R0.z, vertex.position, c[7];
- DP4 R0.x, vertex.position, c[5];
- DP4 R0.y, vertex.position, c[6];
- DP4 R0.w, vertex.position, c[8];
- DP4 result.texcoord[3].w, R0, c[12];
- DP4 result.texcoord[3].z, R0, c[11];
- DP4 result.texcoord[3].y, R0, c[10];
- DP4 result.texcoord[3].x, R0, c[9];
- DP3 result.texcoord[1].z, R1, c[7];
- DP3 result.texcoord[1].y, R1, c[6];
- DP3 result.texcoord[1].x, R1, c[5];
- ADD result.texcoord[2].xyz, -R0, c[13];
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[15], c[15].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 18 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "POINT_COOKIE" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Matrix 9 [_LightMatrix0]
- Vector 13 [_WorldSpaceLightPos0]
- Vector 14 [unity_Scale]
- Vector 15 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[16] = { program.local[0],
- state.matrix.mvp,
- program.local[5..15] };
- TEMP R0;
- TEMP R1;
- MUL R1.xyz, vertex.normal, c[14].w;
- DP4 R0.z, vertex.position, c[7];
- DP4 R0.x, vertex.position, c[5];
- DP4 R0.y, vertex.position, c[6];
- DP4 R0.w, vertex.position, c[8];
- DP4 result.texcoord[3].z, R0, c[11];
- DP4 result.texcoord[3].y, R0, c[10];
- DP4 result.texcoord[3].x, R0, c[9];
- DP3 result.texcoord[1].z, R1, c[7];
- DP3 result.texcoord[1].y, R1, c[6];
- DP3 result.texcoord[1].x, R1, c[5];
- ADD result.texcoord[2].xyz, -R0, c[13];
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[15], c[15].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 17 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL_COOKIE" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Matrix 9 [_LightMatrix0]
- Vector 13 [_WorldSpaceLightPos0]
- Vector 14 [unity_Scale]
- Vector 15 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[16] = { program.local[0],
- state.matrix.mvp,
- program.local[5..15] };
- TEMP R0;
- TEMP R1;
- MUL R1.xyz, vertex.normal, c[14].w;
- DP4 R0.w, vertex.position, c[8];
- DP4 R0.z, vertex.position, c[7];
- DP4 R0.x, vertex.position, c[5];
- DP4 R0.y, vertex.position, c[6];
- DP4 result.texcoord[3].y, R0, c[10];
- DP4 result.texcoord[3].x, R0, c[9];
- DP3 result.texcoord[1].z, R1, c[7];
- DP3 result.texcoord[1].y, R1, c[6];
- DP3 result.texcoord[1].x, R1, c[5];
- MOV result.texcoord[2].xyz, c[13];
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[15], c[15].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 16 instructions, 2 R-regs
- "
- }
- }
- Program "fp" {
- SubProgram "opengl " {
- Keywords { "POINT" }
- Vector 0 [_LightColor0]
- Vector 1 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_LightTexture0] 2D 1
- "!!ARBfp1.0
- PARAM c[3] = { program.local[0..1],
- { 0, 2 } };
- TEMP R0;
- TEMP R1;
- TEX R0.xyz, fragment.texcoord[0], texture[0], 2D;
- DP3 R0.w, fragment.texcoord[3], fragment.texcoord[3];
- DP3 R1.x, fragment.texcoord[2], fragment.texcoord[2];
- RSQ R1.x, R1.x;
- MUL R1.xyz, R1.x, fragment.texcoord[2];
- MUL R0.xyz, R0, c[1];
- DP3 R1.x, fragment.texcoord[1], R1;
- MUL R0.xyz, R0, c[0];
- MAX R1.x, R1, c[2];
- MOV result.color.w, c[2].x;
- TEX R0.w, R0.w, texture[1], 2D;
- MUL R0.w, R1.x, R0;
- MUL R0.xyz, R0.w, R0;
- MUL result.color.xyz, R0, c[2].y;
- END
- # 14 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" }
- Vector 0 [_LightColor0]
- Vector 1 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- "!!ARBfp1.0
- PARAM c[3] = { program.local[0..1],
- { 0, 2 } };
- TEMP R0;
- TEMP R1;
- TEX R0.xyz, fragment.texcoord[0], texture[0], 2D;
- MOV R1.xyz, fragment.texcoord[2];
- MUL R0.xyz, R0, c[1];
- DP3 R0.w, fragment.texcoord[1], R1;
- MUL R0.xyz, R0, c[0];
- MAX R0.w, R0, c[2].x;
- MUL R0.xyz, R0.w, R0;
- MUL result.color.xyz, R0, c[2].y;
- MOV result.color.w, c[2].x;
- END
- # 9 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "SPOT" }
- Vector 0 [_LightColor0]
- Vector 1 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_LightTexture0] 2D 1
- SetTexture 2 [_LightTextureB0] 2D 2
- "!!ARBfp1.0
- PARAM c[3] = { program.local[0..1],
- { 0, 0.5, 2 } };
- TEMP R0;
- TEMP R1;
- RCP R0.x, fragment.texcoord[3].w;
- MAD R1.xy, fragment.texcoord[3], R0.x, c[2].y;
- DP3 R1.z, fragment.texcoord[3], fragment.texcoord[3];
- MOV result.color.w, c[2].x;
- TEX R0.w, R1, texture[1], 2D;
- TEX R0.xyz, fragment.texcoord[0], texture[0], 2D;
- TEX R1.w, R1.z, texture[2], 2D;
- DP3 R1.x, fragment.texcoord[2], fragment.texcoord[2];
- RSQ R1.x, R1.x;
- MUL R1.xyz, R1.x, fragment.texcoord[2];
- DP3 R1.x, fragment.texcoord[1], R1;
- SLT R1.y, c[2].x, fragment.texcoord[3].z;
- MUL R0.w, R1.y, R0;
- MUL R1.y, R0.w, R1.w;
- MUL R0.xyz, R0, c[1];
- MAX R0.w, R1.x, c[2].x;
- MUL R0.xyz, R0, c[0];
- MUL R0.w, R0, R1.y;
- MUL R0.xyz, R0.w, R0;
- MUL result.color.xyz, R0, c[2].z;
- END
- # 20 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "POINT_COOKIE" }
- Vector 0 [_LightColor0]
- Vector 1 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_LightTextureB0] 2D 1
- SetTexture 2 [_LightTexture0] CUBE 2
- "!!ARBfp1.0
- PARAM c[3] = { program.local[0..1],
- { 0, 2 } };
- TEMP R0;
- TEMP R1;
- TEX R0.xyz, fragment.texcoord[0], texture[0], 2D;
- TEX R1.w, fragment.texcoord[3], texture[2], CUBE;
- DP3 R0.w, fragment.texcoord[3], fragment.texcoord[3];
- DP3 R1.x, fragment.texcoord[2], fragment.texcoord[2];
- RSQ R1.x, R1.x;
- MUL R1.xyz, R1.x, fragment.texcoord[2];
- MUL R0.xyz, R0, c[1];
- DP3 R1.x, fragment.texcoord[1], R1;
- MUL R0.xyz, R0, c[0];
- MOV result.color.w, c[2].x;
- TEX R0.w, R0.w, texture[1], 2D;
- MUL R1.y, R0.w, R1.w;
- MAX R0.w, R1.x, c[2].x;
- MUL R0.w, R0, R1.y;
- MUL R0.xyz, R0.w, R0;
- MUL result.color.xyz, R0, c[2].y;
- END
- # 16 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL_COOKIE" }
- Vector 0 [_LightColor0]
- Vector 1 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_LightTexture0] 2D 1
- "!!ARBfp1.0
- PARAM c[3] = { program.local[0..1],
- { 0, 2 } };
- TEMP R0;
- TEMP R1;
- TEX R0.xyz, fragment.texcoord[0], texture[0], 2D;
- TEX R0.w, fragment.texcoord[3], texture[1], 2D;
- MOV R1.xyz, fragment.texcoord[2];
- MUL R0.xyz, R0, c[1];
- DP3 R1.x, fragment.texcoord[1], R1;
- MAX R1.x, R1, c[2];
- MUL R0.xyz, R0, c[0];
- MUL R0.w, R1.x, R0;
- MUL R0.xyz, R0.w, R0;
- MUL result.color.xyz, R0, c[2].y;
- MOV result.color.w, c[2].x;
- END
- # 11 instructions, 2 R-regs
- "
- }
- }
- }
- Pass {
- Name "PREPASS"
- Tags { "LIGHTMODE"="PrePassBase" "RenderType"="Opaque" }
- Fog { Mode Off }
- Program "vp" {
- SubProgram "opengl " {
- Bind "vertex" Vertex
- Bind "normal" Normal
- Matrix 5 [_Object2World]
- Vector 9 [unity_Scale]
- "!!ARBvp1.0
- PARAM c[10] = { program.local[0],
- state.matrix.mvp,
- program.local[5..9] };
- TEMP R0;
- MUL R0.xyz, vertex.normal, c[9].w;
- DP3 result.texcoord[0].z, R0, c[7];
- DP3 result.texcoord[0].y, R0, c[6];
- DP3 result.texcoord[0].x, R0, c[5];
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 8 instructions, 1 R-regs
- "
- }
- }
- Program "fp" {
- SubProgram "opengl " {
- "!!ARBfp1.0
- PARAM c[1] = { { 0, 0.5 } };
- MAD result.color.xyz, fragment.texcoord[0], c[0].y, c[0].y;
- MOV result.color.w, c[0].x;
- END
- # 2 instructions, 0 R-regs
- "
- }
- }
- }
- Pass {
- Name "PREPASS"
- Tags { "LIGHTMODE"="PrePassFinal" "RenderType"="Opaque" }
- ZWrite Off
- Program "vp" {
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "HDR_LIGHT_PREPASS_OFF" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Vector 9 [_ProjectionParams]
- Vector 10 [unity_SHAr]
- Vector 11 [unity_SHAg]
- Vector 12 [unity_SHAb]
- Vector 13 [unity_SHBr]
- Vector 14 [unity_SHBg]
- Vector 15 [unity_SHBb]
- Vector 16 [unity_SHC]
- Vector 17 [unity_Scale]
- Vector 18 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[19] = { { 0.5, 1 },
- state.matrix.mvp,
- program.local[5..18] };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- MUL R1.xyz, vertex.normal, c[17].w;
- DP3 R2.w, R1, c[6];
- DP3 R0.x, R1, c[5];
- DP3 R0.z, R1, c[7];
- MOV R0.y, R2.w;
- MUL R1, R0.xyzz, R0.yzzx;
- MOV R0.w, c[0].y;
- DP4 R2.z, R0, c[12];
- DP4 R2.y, R0, c[11];
- DP4 R2.x, R0, c[10];
- MUL R0.y, R2.w, R2.w;
- DP4 R3.z, R1, c[15];
- DP4 R3.y, R1, c[14];
- DP4 R3.x, R1, c[13];
- DP4 R1.w, vertex.position, c[4];
- DP4 R1.z, vertex.position, c[3];
- MAD R0.x, R0, R0, -R0.y;
- ADD R3.xyz, R2, R3;
- MUL R2.xyz, R0.x, c[16];
- DP4 R1.x, vertex.position, c[1];
- DP4 R1.y, vertex.position, c[2];
- MUL R0.xyz, R1.xyww, c[0].x;
- MUL R0.y, R0, c[9].x;
- ADD result.texcoord[2].xyz, R3, R2;
- ADD result.texcoord[1].xy, R0, R0.z;
- MOV result.position, R1;
- MOV result.texcoord[1].zw, R1;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[18], c[18].zwzw;
- END
- # 28 instructions, 4 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_ON" "DIRLIGHTMAP_OFF" "HDR_LIGHT_PREPASS_OFF" }
- Bind "vertex" Vertex
- Bind "texcoord" TexCoord0
- Bind "texcoord1" TexCoord1
- Matrix 9 [_Object2World]
- Vector 13 [_ProjectionParams]
- Vector 14 [unity_ShadowFadeCenterAndType]
- Vector 15 [unity_LightmapST]
- Vector 16 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[17] = { { 0.5, 1 },
- state.matrix.modelview[0],
- state.matrix.mvp,
- program.local[9..16] };
- TEMP R0;
- TEMP R1;
- DP4 R0.w, vertex.position, c[8];
- DP4 R0.z, vertex.position, c[7];
- DP4 R0.x, vertex.position, c[5];
- DP4 R0.y, vertex.position, c[6];
- MUL R1.xyz, R0.xyww, c[0].x;
- MUL R1.y, R1, c[13].x;
- ADD result.texcoord[1].xy, R1, R1.z;
- MOV result.position, R0;
- MOV R0.x, c[0].y;
- ADD R0.y, R0.x, -c[14].w;
- DP4 R0.x, vertex.position, c[3];
- DP4 R1.z, vertex.position, c[11];
- DP4 R1.x, vertex.position, c[9];
- DP4 R1.y, vertex.position, c[10];
- ADD R1.xyz, R1, -c[14];
- MOV result.texcoord[1].zw, R0;
- MUL result.texcoord[3].xyz, R1, c[14].w;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[16], c[16].zwzw;
- MAD result.texcoord[2].xy, vertex.texcoord[1], c[15], c[15].zwzw;
- MUL result.texcoord[3].w, -R0.x, R0.y;
- END
- # 20 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_ON" "DIRLIGHTMAP_ON" "HDR_LIGHT_PREPASS_OFF" }
- Bind "vertex" Vertex
- Bind "texcoord" TexCoord0
- Bind "texcoord1" TexCoord1
- Vector 5 [_ProjectionParams]
- Vector 6 [unity_LightmapST]
- Vector 7 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[8] = { { 0.5 },
- state.matrix.mvp,
- program.local[5..7] };
- TEMP R0;
- TEMP R1;
- DP4 R0.w, vertex.position, c[4];
- DP4 R0.z, vertex.position, c[3];
- DP4 R0.x, vertex.position, c[1];
- DP4 R0.y, vertex.position, c[2];
- MUL R1.xyz, R0.xyww, c[0].x;
- MUL R1.y, R1, c[5].x;
- ADD result.texcoord[1].xy, R1, R1.z;
- MOV result.position, R0;
- MOV result.texcoord[1].zw, R0;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[7], c[7].zwzw;
- MAD result.texcoord[2].xy, vertex.texcoord[1], c[6], c[6].zwzw;
- END
- # 11 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "HDR_LIGHT_PREPASS_ON" }
- Bind "vertex" Vertex
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Vector 9 [_ProjectionParams]
- Vector 10 [unity_SHAr]
- Vector 11 [unity_SHAg]
- Vector 12 [unity_SHAb]
- Vector 13 [unity_SHBr]
- Vector 14 [unity_SHBg]
- Vector 15 [unity_SHBb]
- Vector 16 [unity_SHC]
- Vector 17 [unity_Scale]
- Vector 18 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[19] = { { 0.5, 1 },
- state.matrix.mvp,
- program.local[5..18] };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- MUL R1.xyz, vertex.normal, c[17].w;
- DP3 R2.w, R1, c[6];
- DP3 R0.x, R1, c[5];
- DP3 R0.z, R1, c[7];
- MOV R0.y, R2.w;
- MUL R1, R0.xyzz, R0.yzzx;
- MOV R0.w, c[0].y;
- DP4 R2.z, R0, c[12];
- DP4 R2.y, R0, c[11];
- DP4 R2.x, R0, c[10];
- MUL R0.y, R2.w, R2.w;
- DP4 R3.z, R1, c[15];
- DP4 R3.y, R1, c[14];
- DP4 R3.x, R1, c[13];
- DP4 R1.w, vertex.position, c[4];
- DP4 R1.z, vertex.position, c[3];
- MAD R0.x, R0, R0, -R0.y;
- ADD R3.xyz, R2, R3;
- MUL R2.xyz, R0.x, c[16];
- DP4 R1.x, vertex.position, c[1];
- DP4 R1.y, vertex.position, c[2];
- MUL R0.xyz, R1.xyww, c[0].x;
- MUL R0.y, R0, c[9].x;
- ADD result.texcoord[2].xyz, R3, R2;
- ADD result.texcoord[1].xy, R0, R0.z;
- MOV result.position, R1;
- MOV result.texcoord[1].zw, R1;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[18], c[18].zwzw;
- END
- # 28 instructions, 4 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_ON" "DIRLIGHTMAP_OFF" "HDR_LIGHT_PREPASS_ON" }
- Bind "vertex" Vertex
- Bind "texcoord" TexCoord0
- Bind "texcoord1" TexCoord1
- Matrix 9 [_Object2World]
- Vector 13 [_ProjectionParams]
- Vector 14 [unity_ShadowFadeCenterAndType]
- Vector 15 [unity_LightmapST]
- Vector 16 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[17] = { { 0.5, 1 },
- state.matrix.modelview[0],
- state.matrix.mvp,
- program.local[9..16] };
- TEMP R0;
- TEMP R1;
- DP4 R0.w, vertex.position, c[8];
- DP4 R0.z, vertex.position, c[7];
- DP4 R0.x, vertex.position, c[5];
- DP4 R0.y, vertex.position, c[6];
- MUL R1.xyz, R0.xyww, c[0].x;
- MUL R1.y, R1, c[13].x;
- ADD result.texcoord[1].xy, R1, R1.z;
- MOV result.position, R0;
- MOV R0.x, c[0].y;
- ADD R0.y, R0.x, -c[14].w;
- DP4 R0.x, vertex.position, c[3];
- DP4 R1.z, vertex.position, c[11];
- DP4 R1.x, vertex.position, c[9];
- DP4 R1.y, vertex.position, c[10];
- ADD R1.xyz, R1, -c[14];
- MOV result.texcoord[1].zw, R0;
- MUL result.texcoord[3].xyz, R1, c[14].w;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[16], c[16].zwzw;
- MAD result.texcoord[2].xy, vertex.texcoord[1], c[15], c[15].zwzw;
- MUL result.texcoord[3].w, -R0.x, R0.y;
- END
- # 20 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_ON" "DIRLIGHTMAP_ON" "HDR_LIGHT_PREPASS_ON" }
- Bind "vertex" Vertex
- Bind "texcoord" TexCoord0
- Bind "texcoord1" TexCoord1
- Vector 5 [_ProjectionParams]
- Vector 6 [unity_LightmapST]
- Vector 7 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[8] = { { 0.5 },
- state.matrix.mvp,
- program.local[5..7] };
- TEMP R0;
- TEMP R1;
- DP4 R0.w, vertex.position, c[4];
- DP4 R0.z, vertex.position, c[3];
- DP4 R0.x, vertex.position, c[1];
- DP4 R0.y, vertex.position, c[2];
- MUL R1.xyz, R0.xyww, c[0].x;
- MUL R1.y, R1, c[5].x;
- ADD result.texcoord[1].xy, R1, R1.z;
- MOV result.position, R0;
- MOV result.texcoord[1].zw, R0;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[7], c[7].zwzw;
- MAD result.texcoord[2].xy, vertex.texcoord[1], c[6], c[6].zwzw;
- END
- # 11 instructions, 2 R-regs
- "
- }
- }
- Program "fp" {
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "HDR_LIGHT_PREPASS_OFF" }
- Vector 0 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_LightBuffer] 2D 1
- "!!ARBfp1.0
- PARAM c[1] = { program.local[0] };
- TEMP R0;
- TEMP R1;
- TXP R1.xyz, fragment.texcoord[1], texture[1], 2D;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- MUL R0, R0, c[0];
- LG2 R1.x, R1.x;
- LG2 R1.z, R1.z;
- LG2 R1.y, R1.y;
- ADD R1.xyz, -R1, fragment.texcoord[2];
- MUL result.color.xyz, R0, R1;
- MOV result.color.w, R0;
- END
- # 9 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_ON" "DIRLIGHTMAP_OFF" "HDR_LIGHT_PREPASS_OFF" }
- Vector 0 [_Color]
- Vector 1 [unity_LightmapFade]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_LightBuffer] 2D 1
- SetTexture 2 [unity_Lightmap] 2D 2
- SetTexture 3 [unity_LightmapInd] 2D 3
- "!!ARBfp1.0
- PARAM c[3] = { program.local[0..1],
- { 8 } };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- TEX R1, fragment.texcoord[2], texture[3], 2D;
- TEX R2, fragment.texcoord[2], texture[2], 2D;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- TXP R3.xyz, fragment.texcoord[1], texture[1], 2D;
- MUL R2.xyz, R2.w, R2;
- MUL R1.xyz, R1.w, R1;
- MUL R1.xyz, R1, c[2].x;
- MUL R0, R0, c[0];
- DP4 R2.w, fragment.texcoord[3], fragment.texcoord[3];
- RSQ R1.w, R2.w;
- RCP R1.w, R1.w;
- MAD R2.xyz, R2, c[2].x, -R1;
- MAD_SAT R1.w, R1, c[1].z, c[1];
- MAD R1.xyz, R1.w, R2, R1;
- LG2 R2.x, R3.x;
- LG2 R2.y, R3.y;
- LG2 R2.z, R3.z;
- ADD R1.xyz, -R2, R1;
- MUL result.color.xyz, R0, R1;
- MOV result.color.w, R0;
- END
- # 20 instructions, 4 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_ON" "DIRLIGHTMAP_ON" "HDR_LIGHT_PREPASS_OFF" }
- Vector 0 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_LightBuffer] 2D 1
- SetTexture 2 [unity_Lightmap] 2D 2
- "!!ARBfp1.0
- PARAM c[2] = { program.local[0],
- { 8 } };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TXP R2.xyz, fragment.texcoord[1], texture[1], 2D;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- TEX R1, fragment.texcoord[2], texture[2], 2D;
- MUL R0, R0, c[0];
- MUL R1.xyz, R1.w, R1;
- LG2 R2.x, R2.x;
- LG2 R2.z, R2.z;
- LG2 R2.y, R2.y;
- MAD R1.xyz, R1, c[1].x, -R2;
- MUL result.color.xyz, R0, R1;
- MOV result.color.w, R0;
- END
- # 11 instructions, 3 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" "HDR_LIGHT_PREPASS_ON" }
- Vector 0 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_LightBuffer] 2D 1
- "!!ARBfp1.0
- PARAM c[1] = { program.local[0] };
- TEMP R0;
- TEMP R1;
- TXP R1.xyz, fragment.texcoord[1], texture[1], 2D;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- MUL R0, R0, c[0];
- ADD R1.xyz, R1, fragment.texcoord[2];
- MUL result.color.xyz, R0, R1;
- MOV result.color.w, R0;
- END
- # 6 instructions, 2 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_ON" "DIRLIGHTMAP_OFF" "HDR_LIGHT_PREPASS_ON" }
- Vector 0 [_Color]
- Vector 1 [unity_LightmapFade]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_LightBuffer] 2D 1
- SetTexture 2 [unity_Lightmap] 2D 2
- SetTexture 3 [unity_LightmapInd] 2D 3
- "!!ARBfp1.0
- PARAM c[3] = { program.local[0..1],
- { 8 } };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- TEX R1, fragment.texcoord[2], texture[3], 2D;
- TEX R2, fragment.texcoord[2], texture[2], 2D;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- TXP R3.xyz, fragment.texcoord[1], texture[1], 2D;
- MUL R2.xyz, R2.w, R2;
- MUL R1.xyz, R1.w, R1;
- MUL R1.xyz, R1, c[2].x;
- MUL R0, R0, c[0];
- DP4 R2.w, fragment.texcoord[3], fragment.texcoord[3];
- RSQ R1.w, R2.w;
- RCP R1.w, R1.w;
- MAD R2.xyz, R2, c[2].x, -R1;
- MAD_SAT R1.w, R1, c[1].z, c[1];
- MAD R1.xyz, R1.w, R2, R1;
- ADD R1.xyz, R3, R1;
- MUL result.color.xyz, R0, R1;
- MOV result.color.w, R0;
- END
- # 17 instructions, 4 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "LIGHTMAP_ON" "DIRLIGHTMAP_ON" "HDR_LIGHT_PREPASS_ON" }
- Vector 0 [_Color]
- SetTexture 0 [_MainTex] 2D 0
- SetTexture 1 [_LightBuffer] 2D 1
- SetTexture 2 [unity_Lightmap] 2D 2
- "!!ARBfp1.0
- PARAM c[2] = { program.local[0],
- { 8 } };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEX R0, fragment.texcoord[0], texture[0], 2D;
- TEX R1, fragment.texcoord[2], texture[2], 2D;
- TXP R2.xyz, fragment.texcoord[1], texture[1], 2D;
- MUL R0, R0, c[0];
- MUL R1.xyz, R1.w, R1;
- MAD R1.xyz, R1, c[1].x, R2;
- MUL result.color.xyz, R0, R1;
- MOV result.color.w, R0;
- END
- # 8 instructions, 3 R-regs
- "
- }
- }
- }
- }
- Fallback "VertexLit"
- } VertexLit &� Shader "Hidden/TerrainEngine/Details/Vertexlit" {
- Properties {
- _MainTex ("Main Texture", 2D) = "white" {}
- }
- SubShader {
- LOD 200
- Tags { "RenderType"="Opaque" }
- Pass {
- Name "FORWARD"
- Tags { "LIGHTMODE"="ForwardBase" "SHADOWSUPPORT"="true" "RenderType"="Opaque" }
- Program "vp" {
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" }
- Bind "vertex" Vertex
- Bind "color" Color
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Vector 9 [unity_SHAr]
- Vector 10 [unity_SHAg]
- Vector 11 [unity_SHAb]
- Vector 12 [unity_SHBr]
- Vector 13 [unity_SHBg]
- Vector 14 [unity_SHBb]
- Vector 15 [unity_SHC]
- Vector 16 [unity_Scale]
- Vector 17 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[18] = { { 1 },
- state.matrix.mvp,
- program.local[5..17] };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- MUL R1.xyz, vertex.normal, c[16].w;
- DP3 R3.w, R1, c[6];
- DP3 R2.w, R1, c[7];
- DP3 R0.x, R1, c[5];
- MOV R0.y, R3.w;
- MOV R0.z, R2.w;
- MUL R1, R0.xyzz, R0.yzzx;
- MOV R0.w, c[0].x;
- DP4 R2.z, R0, c[11];
- DP4 R2.y, R0, c[10];
- DP4 R2.x, R0, c[9];
- MUL R0.y, R3.w, R3.w;
- DP4 R3.z, R1, c[14];
- DP4 R3.y, R1, c[13];
- DP4 R3.x, R1, c[12];
- MAD R0.y, R0.x, R0.x, -R0;
- MUL R1.xyz, R0.y, c[15];
- ADD R2.xyz, R2, R3;
- ADD result.texcoord[2].xyz, R2, R1;
- MOV result.color, vertex.color;
- MOV result.texcoord[1].z, R2.w;
- MOV result.texcoord[1].y, R3.w;
- MOV result.texcoord[1].x, R0;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[17], c[17].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 28 instructions, 4 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_ON" "DIRLIGHTMAP_OFF" }
- Bind "vertex" Vertex
- Bind "color" Color
- Bind "texcoord" TexCoord0
- Bind "texcoord1" TexCoord1
- Vector 9 [unity_LightmapST]
- Vector 10 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[11] = { program.local[0],
- state.matrix.mvp,
- program.local[5..10] };
- MOV result.color, vertex.color;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[10], c[10].zwzw;
- MAD result.texcoord[1].xy, vertex.texcoord[1], c[9], c[9].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 7 instructions, 0 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_OFF" "LIGHTMAP_ON" "DIRLIGHTMAP_ON" }
- Bind "vertex" Vertex
- Bind "color" Color
- Bind "texcoord" TexCoord0
- Bind "texcoord1" TexCoord1
- Vector 9 [unity_LightmapST]
- Vector 10 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[11] = { program.local[0],
- state.matrix.mvp,
- program.local[5..10] };
- MOV result.color, vertex.color;
- MAD result.texcoord[0].xy, vertex.texcoord[0], c[10], c[10].zwzw;
- MAD result.texcoord[1].xy, vertex.texcoord[1], c[9], c[9].zwzw;
- DP4 result.position.w, vertex.position, c[4];
- DP4 result.position.z, vertex.position, c[3];
- DP4 result.position.y, vertex.position, c[2];
- DP4 result.position.x, vertex.position, c[1];
- END
- # 7 instructions, 0 R-regs
- "
- }
- SubProgram "opengl " {
- Keywords { "DIRECTIONAL" "SHADOWS_SCREEN" "LIGHTMAP_OFF" "DIRLIGHTMAP_OFF" }
- Bind "vertex" Vertex
- Bind "color" Color
- Bind "normal" Normal
- Bind "texcoord" TexCoord0
- Matrix 5 [_Object2World]
- Vector 9 [_ProjectionParams]
- Vector 10 [unity_SHAr]
- Vector 11 [unity_SHAg]
- Vector 12 [unity_SHAb]
- Vector 13 [unity_SHBr]
- Vector 14 [unity_SHBg]
- Vector 15 [unity_SHBb]
- Vector 16 [unity_SHC]
- Vector 17 [unity_Scale]
- Vector 18 [_MainTex_ST]
- "!!ARBvp1.0
- PARAM c[19] = { { 1, 0.5 },
- state.matrix.mvp,
- program.local[5..18] };
- TEMP R0;
- TEMP R1;
- TEMP R2;
- TEMP R3;
- MUL R0.xyz, vertex.normal, c[17].w;
- DP3 R3.w, R0, c[6];
- DP3 R2.w, R0, c[7];
- DP3 R1.w, R0, c[5];
- MOV R1.x, R3.w;
- MOV R1.y, R2.w;
- MOV R1.z, c[0].x;
- MUL R0, R1.wxyy, R1.xyyw;
- DP4 R2.z, R1.wxyz, c[12];
- DP4 R2.y, R1.wxyz, c[11];
- DP4 R2.x, R1.wxyz, c[10];
- DP4 R1.z, R0, c[15];
- DP4 R1.y, R0, c[14];
- DP4 R1.x, R0, c[13];
- MUL R3.x, R3.w, R3.w;
- MAD R0.x, R1.w, R1.w, -R3;
- ADD R3.xyz, R2, R1;
- MUL R2.xyz, R0.x, c[16];
- DP4 R0.w, vertex.position, c[4];
- DP4 R0.z, vertex.position, c[3];
- DP4 R0.x, vertex.position, c[1];
- DP4 R0.y, vertex.position, c[2];
- MUL R1.xyz, R0.xyww, c[0].y;
- MUL R1.y, R1, c[9].x;
- ADD result.texcoord[2].xyz, R3, R2;
- ADD result.texcoord[3].xy, R1, R1.z;
- MOV result.position, R0;
- MOV result.color, vertex.color;
- MOV result.texcoord[3].zw, R0;
- MOV result.texcoord[1].z, R2.w;
- MOV re
Advertisement
Add Comment
Please, Sign In to add comment