Skip to content

Commit f14927f

Browse files
author
Christopher Remde
committed
Added Pointcloud normal test data
1 parent 937ad15 commit f14927f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1305
-40
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ GSS_Showreel
99
GSS_Premium
1010
GSS_AVP_Testproject
1111
Unity_Test_Project/Assets/TextMesh Pro/
12+
13+
Unity_Test_Project/Assets/Plugins/Sirenix/
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Shader "Custom/NormalTest"
2+
{
3+
Properties
4+
{
5+
6+
}
7+
SubShader
8+
{
9+
Tags { "RenderType"="Opaque" }
10+
LOD 200
11+
12+
CGPROGRAM
13+
// Physically based Standard lighting model, and enable shadows on all light types
14+
#pragma surface surf Standard fullforwardshadows
15+
16+
// Use shader model 3.0 target, to get nicer looking lighting
17+
#pragma target 3.0
18+
19+
struct Input
20+
{
21+
float4 color: Color;
22+
};
23+
24+
// Add instancing support for this shader. You need to check 'Enable Instancing' on materials that use the shader.
25+
// See https://docs.unity3d.com/Manual/GPUInstancing.html for more information about instancing.
26+
// #pragma instancing_options assumeuniformscaling
27+
UNITY_INSTANCING_BUFFER_START(Props)
28+
// put more per-instance properties here
29+
UNITY_INSTANCING_BUFFER_END(Props)
30+
31+
void surf (Input IN, inout SurfaceOutputStandard o)
32+
{
33+
o.Albedo = IN.color.rgb;
34+
o.Alpha = 1;
35+
}
36+
ENDCG
37+
}
38+
FallBack "Diffuse"
39+
}

Unity_Test_Project/Assets/NewSurfaceShader.shader.meta

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)