Permalink
Browse files

Added shader-based animation test.

  • Loading branch information...
keijiro committed Apr 10, 2012
1 parent 24072f1 commit 285ea76e0b5b9c8f36afe797bd6c79b4b9f6da73
View
@@ -0,0 +1,30 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 3
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_Name: AnimatedChecker
+ m_Shader: {fileID: 4800000, guid: e8f2b1396f82545b6bbc4971cca5eee0, type: 1}
+ m_SavedProperties:
+ serializedVersion: 2
+ m_TexEnvs:
+ data:
+ first:
+ name: _MainTex
+ second:
+ m_Texture: {fileID: 2800000, guid: 6ef7573014e9541f4b52611a2c37cab0, type: 1}
+ m_Scale: {x: 4, y: 4}
+ m_Offset: {x: 0, y: 0}
+ m_Floats: {}
+ m_Colors:
+ data:
+ first:
+ name: _ParamsA
+ second: {r: 6, g: 2, b: .119999997, a: 0}
+ data:
+ first:
+ name: _ParamsB
+ second: {r: 12, g: 10, b: .0299999993, a: 0}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -3,10 +3,6 @@
@script RequireComponent(MeshFilter)
@script RequireComponent(MeshRenderer)
-function Awake() {
- Application.targetFrameRate = 60.0;
-}
-
var waveParams = [6.0, 2.0, 0.12, 12.0, 10.0, 0.03];
function Update() {
@@ -19,7 +19,7 @@ RenderSettings:
m_FogDensity: .00999999978
m_LinearFogStart: 0
m_LinearFogEnd: 300
- m_AmbientLight: {r: .200000003, g: .200000003, b: .200000003, a: 1}
+ m_AmbientLight: {r: 0, g: 0, b: 0, a: 1}
m_SkyboxMaterial: {fileID: 0}
m_HaloStrength: .5
m_FlareStrength: 1
@@ -85,6 +85,7 @@ GameObject:
- 33: {fileID: 674035587}
- 23: {fileID: 674035586}
- 114: {fileID: 674035588}
+ - 114: {fileID: 674035589}
m_Layer: 0
m_Name: Plane
m_TagString: Untagged
@@ -148,6 +149,16 @@ MonoBehaviour:
- 12
- 10
- .0299999993
+--- !u!114 &674035589
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 674035584}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 041d7ab368ef046df984396f184bada8, type: 1}
+ m_Name:
--- !u!1 &1900351364
GameObject:
m_ObjectHideFlags: 0
@@ -198,10 +209,10 @@ Transform:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1912743918}
- m_LocalRotation: {x: .408217937, y: -.234569728, z: .109381676, w: .875426054}
+ m_LocalRotation: {x: .707106829, y: 0, z: 0, w: .707106709}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
- m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
+ m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
--- !u!108 &1912743920
View
@@ -0,0 +1,6 @@
+#pragma strict
+
+function Awake() {
+ Application.targetFrameRate = 60.0;
+
+}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 285ea76

Please sign in to comment.