Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
HelloWorld Project
  • Loading branch information
rkv14001 committed Sep 2, 2016
1 parent b755914 commit b72c44d
Show file tree
Hide file tree
Showing 74 changed files with 69,101 additions and 0 deletions.
Binary file added First Project/.DS_Store
Binary file not shown.
Binary file added First Project/Assets/.DS_Store
Binary file not shown.
9 changes: 9 additions & 0 deletions First Project/Assets/Materials.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added First Project/Assets/Materials/HelloWorld.mat
Binary file not shown.
8 changes: 8 additions & 0 deletions First Project/Assets/Materials/HelloWorld.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions First Project/Assets/Scene.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added First Project/Assets/Scene/HelloWorld.unity
Binary file not shown.
8 changes: 8 additions & 0 deletions First Project/Assets/Scene/HelloWorld.unity.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions First Project/Assets/Textures.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 41 additions & 0 deletions First Project/Assets/Textures/NewSurfaceShader.shader
@@ -0,0 +1,41 @@
Shader "Custom/NewSurfaceShader" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Glossiness ("Smoothness", Range(0,1)) = 0.5
_Metallic ("Metallic", Range(0,1)) = 0.0
}
SubShader {
Tags { "RenderType"="Opaque" }
LOD 200

CGPROGRAM
// Physically based Standard lighting model, and enable shadows on all light types
#pragma surface surf Standard fullforwardshadows

// Use shader model 3.0 target, to get nicer looking lighting
#pragma target 3.0

sampler2D _MainTex;

struct Input {
float2 uv_MainTex;
};

half _Glossiness;
half _Metallic;
fixed4 _Color;

void surf (Input IN, inout SurfaceOutputStandard o) {
// Albedo comes from a texture tinted by color
fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color;
o.Albedo = c.rgb;
// Metallic and smoothness come from slider variables
o.Metallic = _Metallic;
o.Smoothness = _Glossiness;
o.Alpha = c.a;
}
ENDCG
}
FallBack "Diffuse"
}
9 changes: 9 additions & 0 deletions First Project/Assets/Textures/NewSurfaceShader.shader.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added First Project/Assets/Textures/helloworld.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions First Project/Assets/Textures/helloworld.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added First Project/Assets/Textures/helloworld.psd
Binary file not shown.
59 changes: 59 additions & 0 deletions First Project/Assets/Textures/helloworld.psd.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b72c44d

Please sign in to comment.