diff --git a/Assets/Materials.meta b/Assets/Materials.meta new file mode 100644 index 0000000..87ce5c4 --- /dev/null +++ b/Assets/Materials.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 9c17e336c640f71409061134ff4ed46b +folderAsset: yes +timeCreated: 1439449779 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/tex001.mat b/Assets/Materials/tex001.mat new file mode 100644 index 0000000..4a1abc8 Binary files /dev/null and b/Assets/Materials/tex001.mat differ diff --git a/Assets/Materials/tex001.mat.meta b/Assets/Materials/tex001.mat.meta new file mode 100644 index 0000000..bf8b3ea --- /dev/null +++ b/Assets/Materials/tex001.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a683820b87a7b6c4a9a1151a2fd05b96 +timeCreated: 1439450111 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/tex002.mat b/Assets/Materials/tex002.mat new file mode 100644 index 0000000..a174fc5 Binary files /dev/null and b/Assets/Materials/tex002.mat differ diff --git a/Assets/Materials/tex002.mat.meta b/Assets/Materials/tex002.mat.meta new file mode 100644 index 0000000..f95935f --- /dev/null +++ b/Assets/Materials/tex002.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5bbedd19a4a4acd4d88e8998a4ff0ef6 +timeCreated: 1439449780 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/tex003.mat b/Assets/Materials/tex003.mat new file mode 100644 index 0000000..e19e464 Binary files /dev/null and b/Assets/Materials/tex003.mat differ diff --git a/Assets/Materials/tex003.mat.meta b/Assets/Materials/tex003.mat.meta new file mode 100644 index 0000000..fea57e5 --- /dev/null +++ b/Assets/Materials/tex003.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 60f0ec14cbf17484bbb8bc39e0eb8381 +timeCreated: 1439449927 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Materials/tex004.mat b/Assets/Materials/tex004.mat new file mode 100644 index 0000000..791ff96 Binary files /dev/null and b/Assets/Materials/tex004.mat differ diff --git a/Assets/Materials/tex004.mat.meta b/Assets/Materials/tex004.mat.meta new file mode 100644 index 0000000..a7a4781 --- /dev/null +++ b/Assets/Materials/tex004.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 947e668c9d7230345aaa6972e7f428c4 +timeCreated: 1439450559 +licenseType: Free +NativeFormatImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders.meta b/Assets/Shaders.meta new file mode 100644 index 0000000..218eb1e --- /dev/null +++ b/Assets/Shaders.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 6cc1371f5e6c4df4abbd289ffa3855b8 +folderAsset: yes +timeCreated: 1439449704 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Trasparent.meta b/Assets/Shaders/Trasparent.meta new file mode 100644 index 0000000..e021df8 --- /dev/null +++ b/Assets/Shaders/Trasparent.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: f3f21d2adbeffc04498067f4a45cfaa9 +folderAsset: yes +timeCreated: 1431593662 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Trasparent/psx-trasparent-unlit.shader b/Assets/Shaders/Trasparent/psx-trasparent-unlit.shader new file mode 100644 index 0000000..1e1cc37 --- /dev/null +++ b/Assets/Shaders/Trasparent/psx-trasparent-unlit.shader @@ -0,0 +1,89 @@ +Shader "psx/trasparent/unlit" { + Properties { + _MainTex ("Base (RGB)", 2D) = "white" {} + } + SubShader { + Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "DisableBatching"="True"} + // ZWrite Off + Blend SrcAlpha OneMinusSrcAlpha + //AlphaTest Less .01 + Cull Off + LOD 200 + + Pass { + Lighting On + CGPROGRAM + + + #pragma vertex vert + #pragma fragment frag + #include "UnityCG.cginc" + + struct v2f + { + fixed4 pos : SV_POSITION; + float4 color : COLOR0; + float4 colorFog : COLOR1; + float2 uv_MainTex : TEXCOORD0; + float3 normal : NORMAL; + }; + + float4 _MainTex_ST; + uniform half4 unity_FogStart; + uniform half4 unity_FogEnd; + + v2f vert(appdata_full v) + { + v2f o; + + //Vertex snapping + float4 snapToPixel = mul(UNITY_MATRIX_MVP,v.vertex); + float4 vertex = snapToPixel; + vertex.xyz = snapToPixel.xyz/snapToPixel.w; + vertex.x = round(160*vertex.x)/160; + vertex.y = round(120*vertex.y)/120; + vertex.xyz*=snapToPixel.w; + o.pos = vertex; + + float distance =length(mul (UNITY_MATRIX_MV,v.vertex)); + + //Vertex color + o.color = v.color; + + //Affine Texture Mapping + float4 affinePos = vertex;//vertex; + o.uv_MainTex = TRANSFORM_TEX(v.texcoord, _MainTex); + o.uv_MainTex *= distance + (vertex.w*(UNITY_LIGHTMODEL_AMBIENT.a * 8)) / distance / 2; + o.normal = distance + (vertex.w*(UNITY_LIGHTMODEL_AMBIENT.a * 8)) / distance / 2; + + //Fog + float4 fogColor = unity_FogColor; + + float fogDensity = (unity_FogEnd-distance)/(unity_FogEnd-unity_FogStart); + o.normal.g = fogDensity; + o.normal.b = 1; + o.colorFog = fogColor; + o.colorFog.a = clamp(fogDensity,0,1); + + //Cut out polygons + if (distance >= unity_FogStart.z + unity_FogColor.a * 255) + { + o.pos.w = 0; + } + + return o; + } + + sampler2D _MainTex; + + float4 frag(v2f IN) : COLOR + { + fixed4 c = tex2D (_MainTex, IN.uv_MainTex/IN.normal.r)*IN.color; + float4 color = c*(IN.colorFog.a); + color.rgb += IN.colorFog.rgb*(1-IN.colorFog.a); + return color; + } + ENDCG + } + } +} \ No newline at end of file diff --git a/Assets/Shaders/Trasparent/psx-trasparent-unlit.shader.meta b/Assets/Shaders/Trasparent/psx-trasparent-unlit.shader.meta new file mode 100644 index 0000000..0297f95 --- /dev/null +++ b/Assets/Shaders/Trasparent/psx-trasparent-unlit.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 015294d7b7044ba40ba50b0c05df3b50 +timeCreated: 1431593948 +licenseType: Free +ShaderImporter: + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/Trasparent/psx-trasparent-vertexlit.shader b/Assets/Shaders/Trasparent/psx-trasparent-vertexlit.shader new file mode 100644 index 0000000..5d7abc4 --- /dev/null +++ b/Assets/Shaders/Trasparent/psx-trasparent-vertexlit.shader @@ -0,0 +1,93 @@ +Shader "psx/trasparent/vertexlit" { + Properties { + _MainTex ("Base (RGB)", 2D) = "white" {} + } + SubShader { + Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" "DisableBatching"="True"} + //ZWrite Off + Blend SrcAlpha OneMinusSrcAlpha + // AlphaTest Less .01 + Cull Off + LOD 200 + + Pass { + Lighting On + CGPROGRAM + + + #pragma vertex vert + #pragma fragment frag + #include "UnityCG.cginc" + + struct v2f + { + fixed4 pos : SV_POSITION; + float4 color : COLOR0; + float4 colorFog : COLOR1; + float2 uv_MainTex : TEXCOORD0; + float3 normal : NORMAL; + }; + + float4 _MainTex_ST; + uniform half4 unity_FogStart; + uniform half4 unity_FogEnd; + + v2f vert(appdata_full v) + { + v2f o; + + //Vertex snapping + float4 snapToPixel = mul(UNITY_MATRIX_MVP,v.vertex); + float4 vertex = snapToPixel; + vertex.xyz = snapToPixel.xyz/snapToPixel.w; + vertex.x = round(160*vertex.x)/160; + vertex.y = round(120*vertex.y)/120; + vertex.xyz*=snapToPixel.w; + o.pos = vertex; + + float distance = abs(_WorldSpaceCameraPos.z-snapToPixel.z); + + //Vertex lighting + o.color = float4 (ShadeVertexLights(v.vertex, v.normal) * 2.0, 1.0); + o.color *= v.color; + + //Affine Texture Mapping + float4 affinePos = vertex;//vertex; + o.uv_MainTex = TRANSFORM_TEX(v.texcoord, _MainTex); + o.uv_MainTex *= distance + (vertex.w*(UNITY_LIGHTMODEL_AMBIENT.a * 8)) / distance / 2; + o.normal = distance + (vertex.w*(UNITY_LIGHTMODEL_AMBIENT.a * 8)) / distance / 2; + + //Fog + float4 fogColor = unity_FogColor; + float fogDensity = (unity_FogEnd-distance)/(unity_FogEnd-unity_FogStart); + o.normal.g = fogDensity; + o.normal.b = 1; + + + o.colorFog = fogColor; + o.colorFog.a = clamp(fogDensity,0,1); + + //Cut out polygons + if (distance >= unity_FogStart.z + unity_FogColor.a * 255) + { + o.pos.w = 0; + } + + return o; + } + + sampler2D _MainTex; + + float4 frag(v2f IN) : COLOR + { + fixed4 c = tex2D (_MainTex, IN.uv_MainTex/IN.normal.r)*IN.color; + float4 color = float4(0,0,0,0); + color = c*(IN.colorFog.a); + color.rgb += IN.colorFog.rgb*(1-IN.colorFog.a); + color.a = c.a; + return color; + } + ENDCG + } + } +} \ No newline at end of file diff --git a/Assets/Shaders/Trasparent/psx-trasparent-vertexlit.shader.meta b/Assets/Shaders/Trasparent/psx-trasparent-vertexlit.shader.meta new file mode 100644 index 0000000..2419070 --- /dev/null +++ b/Assets/Shaders/Trasparent/psx-trasparent-vertexlit.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 2425baef6ef2e294b931a912bb14fd29 +timeCreated: 1431593670 +licenseType: Free +ShaderImporter: + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/psx-unlit.shader b/Assets/Shaders/psx-unlit.shader new file mode 100644 index 0000000..b4a77a4 --- /dev/null +++ b/Assets/Shaders/psx-unlit.shader @@ -0,0 +1,84 @@ +Shader "psx/unlit" { + Properties { + _MainTex ("Base (RGB)", 2D) = "white" {} + } + SubShader { + Tags { "RenderType"="Opaque" } + LOD 200 + + Pass { + Lighting On + CGPROGRAM + #pragma vertex vert + #pragma fragment frag + #include "UnityCG.cginc" + + struct v2f + { + fixed4 pos : SV_POSITION; + float4 color : COLOR0; + float4 colorFog : COLOR1; + float2 uv_MainTex : TEXCOORD0; + float3 normal : NORMAL; + }; + + float4 _MainTex_ST; + uniform half4 unity_FogStart; + uniform half4 unity_FogEnd; + + v2f vert(appdata_full v) + { + v2f o; + + //Vertex snapping + float4 snapToPixel = mul(UNITY_MATRIX_MVP,v.vertex); + float4 vertex = snapToPixel; + vertex.xyz = snapToPixel.xyz/snapToPixel.w; + vertex.x = round(160*vertex.x)/160; + vertex.y = round(120*vertex.y)/120; + vertex.xyz*=snapToPixel.w; + o.pos = vertex; + + float distance =length(mul (UNITY_MATRIX_MV,v.vertex)); + + //Vertex Color + o.color = v.color*UNITY_LIGHTMODEL_AMBIENT; + + //Affine Texture Mapping + float4 affinePos =vertex; + o.uv_MainTex = TRANSFORM_TEX(v.texcoord, _MainTex); + o.uv_MainTex*=distance+(vertex.w*4)/distance/2; + o.normal= distance+(vertex.w*4)/distance/2; + + //Fog + float4 fogColor = unity_FogColor; + + float fogDensity = (unity_FogEnd-distance)/(unity_FogEnd-unity_FogStart); + o.normal.g = fogDensity; + o.normal.b = 1; + + o.colorFog = fogColor; + o.colorFog.a = clamp(fogDensity,0,1); + + //Cut out polygons + if (distance >= unity_FogStart.z + unity_FogColor.a * 255) + { + o.pos.w = 0; + } + + return o; + } + + sampler2D _MainTex; + + float4 frag(v2f IN) : COLOR + { + fixed4 c = tex2D (_MainTex, IN.uv_MainTex/IN.normal.r)*IN.color; + float4 color = c*(IN.colorFog.a); + color.rgb += IN.colorFog.rgb*(1-IN.colorFog.a); + return color; + } + ENDCG + } + } +} \ No newline at end of file diff --git a/Assets/Shaders/psx-unlit.shader.meta b/Assets/Shaders/psx-unlit.shader.meta new file mode 100644 index 0000000..52ec686 --- /dev/null +++ b/Assets/Shaders/psx-unlit.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 81e3b2a0a6cd3bb4d9e07391cb051be2 +timeCreated: 1431334434 +licenseType: Free +ShaderImporter: + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Shaders/psx-vertexlit.shader b/Assets/Shaders/psx-vertexlit.shader new file mode 100644 index 0000000..465e158 --- /dev/null +++ b/Assets/Shaders/psx-vertexlit.shader @@ -0,0 +1,87 @@ +Shader "psx/vertexlit" { + Properties { + _MainTex ("Base (RGB)", 2D) = "white" {} + } + SubShader { + Tags { "RenderType"="Opaque" } + LOD 200 + + Pass { + Lighting On + CGPROGRAM + + #pragma vertex vert + #pragma fragment frag + #include "UnityCG.cginc" + + struct v2f + { + fixed4 pos : SV_POSITION; + float4 color : COLOR0; + float4 colorFog : COLOR1; + float2 uv_MainTex : TEXCOORD0; + float3 normal : NORMAL; + }; + + float4 _MainTex_ST; + uniform half4 unity_FogStart; + uniform half4 unity_FogEnd; + + v2f vert(appdata_full v) + { + v2f o; + + //Vertex snapping + float4 snapToPixel = mul(UNITY_MATRIX_MVP,v.vertex); + float4 vertex = snapToPixel; + vertex.xyz = snapToPixel.xyz/snapToPixel.w; + vertex.x = floor(160*vertex.x)/160; + vertex.y = floor(120*vertex.y)/120; + vertex.xyz*=snapToPixel.w; + o.pos = vertex; + + //Vertex lighting + o.color = float4(ShadeVertexLights(v.vertex, v.normal) * 2.0, 1.0); + o.color *= v.color; + + float distance =length(mul(UNITY_MATRIX_MV,v.vertex)); + + //Affine Texture Mapping + float4 affinePos = vertex;//vertex; + o.uv_MainTex = TRANSFORM_TEX(v.texcoord, _MainTex); + o.uv_MainTex*=distance+(vertex.w*(UNITY_LIGHTMODEL_AMBIENT.a*8))/distance/2; + o.normal= distance+(vertex.w*(UNITY_LIGHTMODEL_AMBIENT.a*8))/distance/2; + + //Fog + float4 fogColor = unity_FogColor; + + float fogDensity = (unity_FogEnd-distance)/(unity_FogEnd-unity_FogStart); + o.normal.g = fogDensity; + o.normal.b = 1; + + o.colorFog = fogColor; + o.colorFog.a = clamp(fogDensity,0,1); + + //Cut out polygons + if (distance >= unity_FogStart.z + unity_FogColor.a * 255) + { + o.pos.w = 0; + } + + + return o; + } + + sampler2D _MainTex; + + float4 frag(v2f IN) : COLOR + { + fixed4 c = tex2D (_MainTex, IN.uv_MainTex/IN.normal.r)*IN.color; + float4 color = c*(IN.colorFog.a); + color.rgb += IN.colorFog.rgb*(1-IN.colorFog.a); + return color; + } + ENDCG + } + } +} \ No newline at end of file diff --git a/Assets/Shaders/psx-vertexlit.shader.meta b/Assets/Shaders/psx-vertexlit.shader.meta new file mode 100644 index 0000000..effb6d7 --- /dev/null +++ b/Assets/Shaders/psx-vertexlit.shader.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 447fef9edcd98e346b21881ad3e44014 +timeCreated: 1431502361 +licenseType: Free +ShaderImporter: + defaultTextures: [] + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Textures.meta b/Assets/Textures.meta new file mode 100644 index 0000000..7fd1303 --- /dev/null +++ b/Assets/Textures.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 4873958fc4a5db7408276c6bf606eb41 +folderAsset: yes +timeCreated: 1439449762 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Textures/Thumbs.db.meta b/Assets/Textures/Thumbs.db.meta new file mode 100644 index 0000000..e5bb14e --- /dev/null +++ b/Assets/Textures/Thumbs.db.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f6f089174368c5e4685c619dad7d01ed +timeCreated: 1439450532 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Textures/tex001.jpg b/Assets/Textures/tex001.jpg new file mode 100644 index 0000000..9f58edb Binary files /dev/null and b/Assets/Textures/tex001.jpg differ diff --git a/Assets/Textures/tex001.jpg.meta b/Assets/Textures/tex001.jpg.meta new file mode 100644 index 0000000..61e309b --- /dev/null +++ b/Assets/Textures/tex001.jpg.meta @@ -0,0 +1,55 @@ +fileFormatVersion: 2 +guid: e8634f5d90a8baf4a95d720e30dcd70c +timeCreated: 1439449762 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 8 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + filterMode: 0 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: .5, y: .5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: 5 + buildTargetSettings: [] + spriteSheet: + sprites: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Textures/tex002.jpg b/Assets/Textures/tex002.jpg new file mode 100644 index 0000000..1841389 Binary files /dev/null and b/Assets/Textures/tex002.jpg differ diff --git a/Assets/Textures/tex002.jpg.meta b/Assets/Textures/tex002.jpg.meta new file mode 100644 index 0000000..461f9e5 --- /dev/null +++ b/Assets/Textures/tex002.jpg.meta @@ -0,0 +1,55 @@ +fileFormatVersion: 2 +guid: e86722574b5a64a49b4e8162b900fbb1 +timeCreated: 1439449762 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 8 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + filterMode: 0 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: .5, y: .5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: 5 + buildTargetSettings: [] + spriteSheet: + sprites: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Textures/tex003.jpg b/Assets/Textures/tex003.jpg new file mode 100644 index 0000000..49fc479 Binary files /dev/null and b/Assets/Textures/tex003.jpg differ diff --git a/Assets/Textures/tex003.jpg.meta b/Assets/Textures/tex003.jpg.meta new file mode 100644 index 0000000..422ed0d --- /dev/null +++ b/Assets/Textures/tex003.jpg.meta @@ -0,0 +1,55 @@ +fileFormatVersion: 2 +guid: db086abaca6eab349bbce1a6bb752ca6 +timeCreated: 1439449762 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 8 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + filterMode: 0 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: .5, y: .5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: 5 + buildTargetSettings: [] + spriteSheet: + sprites: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Textures/tex004.png b/Assets/Textures/tex004.png new file mode 100644 index 0000000..e3006ee Binary files /dev/null and b/Assets/Textures/tex004.png differ diff --git a/Assets/Textures/tex004.png.meta b/Assets/Textures/tex004.png.meta new file mode 100644 index 0000000..4fc86d5 --- /dev/null +++ b/Assets/Textures/tex004.png.meta @@ -0,0 +1,55 @@ +fileFormatVersion: 2 +guid: f0992991d374b7641b5d96d8fac59eb2 +timeCreated: 1439450532 +licenseType: Free +TextureImporter: + fileIDToRecycleName: {} + serializedVersion: 2 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + linearTexture: 0 + correctGamma: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: .25 + normalMapFilter: 0 + isReadable: 0 + grayScaleToAlpha: 0 + generateCubemap: 0 + cubemapConvolution: 0 + cubemapConvolutionSteps: 8 + cubemapConvolutionExponent: 1.5 + seamlessCubemap: 0 + textureFormat: -1 + maxTextureSize: 2048 + textureSettings: + filterMode: 0 + aniso: -1 + mipBias: -1 + wrapMode: -1 + nPOTScale: 1 + lightmap: 0 + rGBM: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: .5, y: .5} + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spritePixelsToUnits: 100 + alphaIsTransparency: 0 + textureType: -1 + buildTargetSettings: [] + spriteSheet: + sprites: [] + spritePackingTag: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/rotate.cs b/Assets/rotate.cs new file mode 100644 index 0000000..f88662b --- /dev/null +++ b/Assets/rotate.cs @@ -0,0 +1,16 @@ +using UnityEngine; +using System.Collections; + +public class rotate : MonoBehaviour { + + // Use this for initialization + void Start () { + + } + + public Vector3 rot = Vector3.zero; + // Update is called once per frame + void Update () { + this.transform.Rotate(rot*Time.deltaTime); + } +} diff --git a/Assets/rotate.cs.meta b/Assets/rotate.cs.meta new file mode 100644 index 0000000..38131ad --- /dev/null +++ b/Assets/rotate.cs.meta @@ -0,0 +1,12 @@ +fileFormatVersion: 2 +guid: 10e971bcf4512f54a9beb8c98b0e5300 +timeCreated: 1439450256 +licenseType: Free +MonoImporter: + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/testscene.unity b/Assets/testscene.unity new file mode 100644 index 0000000..468dedd Binary files /dev/null and b/Assets/testscene.unity differ diff --git a/Assets/testscene.unity.meta b/Assets/testscene.unity.meta new file mode 100644 index 0000000..a0c664e --- /dev/null +++ b/Assets/testscene.unity.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 37f2a9c05dc9d00458274624ac85965e +timeCreated: 1439450285 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: diff --git a/ProjectSettings/AudioManager.asset b/ProjectSettings/AudioManager.asset new file mode 100644 index 0000000..237cdbb Binary files /dev/null and b/ProjectSettings/AudioManager.asset differ diff --git a/ProjectSettings/DynamicsManager.asset b/ProjectSettings/DynamicsManager.asset new file mode 100644 index 0000000..fbf7d37 Binary files /dev/null and b/ProjectSettings/DynamicsManager.asset differ diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset new file mode 100644 index 0000000..508957e Binary files /dev/null and b/ProjectSettings/EditorBuildSettings.asset differ diff --git a/ProjectSettings/EditorSettings.asset b/ProjectSettings/EditorSettings.asset new file mode 100644 index 0000000..5cc02a9 Binary files /dev/null and b/ProjectSettings/EditorSettings.asset differ diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset new file mode 100644 index 0000000..fc78c06 Binary files /dev/null and b/ProjectSettings/GraphicsSettings.asset differ diff --git a/ProjectSettings/InputManager.asset b/ProjectSettings/InputManager.asset new file mode 100644 index 0000000..60af1d0 Binary files /dev/null and b/ProjectSettings/InputManager.asset differ diff --git a/ProjectSettings/NavMeshAreas.asset b/ProjectSettings/NavMeshAreas.asset new file mode 100644 index 0000000..b6943d9 Binary files /dev/null and b/ProjectSettings/NavMeshAreas.asset differ diff --git a/ProjectSettings/NetworkManager.asset b/ProjectSettings/NetworkManager.asset new file mode 100644 index 0000000..8969590 Binary files /dev/null and b/ProjectSettings/NetworkManager.asset differ diff --git a/ProjectSettings/Physics2DSettings.asset b/ProjectSettings/Physics2DSettings.asset new file mode 100644 index 0000000..78c0c16 Binary files /dev/null and b/ProjectSettings/Physics2DSettings.asset differ diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset new file mode 100644 index 0000000..8037849 Binary files /dev/null and b/ProjectSettings/ProjectSettings.asset differ diff --git a/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt new file mode 100644 index 0000000..8c353d8 --- /dev/null +++ b/ProjectSettings/ProjectVersion.txt @@ -0,0 +1,2 @@ +m_EditorVersion: 5.1.2f1 +m_StandardAssetsVersion: 0 diff --git a/ProjectSettings/QualitySettings.asset b/ProjectSettings/QualitySettings.asset new file mode 100644 index 0000000..3d47582 Binary files /dev/null and b/ProjectSettings/QualitySettings.asset differ diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset new file mode 100644 index 0000000..8cf151a Binary files /dev/null and b/ProjectSettings/TagManager.asset differ diff --git a/ProjectSettings/TimeManager.asset b/ProjectSettings/TimeManager.asset new file mode 100644 index 0000000..f09da06 Binary files /dev/null and b/ProjectSettings/TimeManager.asset differ diff --git a/Unity.gitignore b/Unity.gitignore new file mode 100644 index 0000000..46b5bb0 --- /dev/null +++ b/Unity.gitignore @@ -0,0 +1,21 @@ +/[Ll]ibrary/ +/[Tt]emp/ +/[Oo]bj/ +/[Bb]uild/ + +# Autogenerated VS/MD solution and project files +*.csproj +*.unityproj +*.sln +*.suo +*.tmp +*.user +*.userprefs +*.pidb +*.booproj + +# Unity3D generated meta files +*.pidb.meta + +# Unity3D Generated File On Crash Reports +sysinfo.txt \ No newline at end of file