diff options
| author | yum <yum.food.vr@gmail.com> | 2025-02-11 16:54:10 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-02-11 16:54:10 -0800 |
| commit | 20c32dcb055058b770062b7e9dd07f79d33a8caa (patch) | |
| tree | a712206014334ab41a012c2cc27086c5f0591c45 /globals.cginc | |
| parent | 2dcf39113fab3aac8fe280f3b0ead9cf87fa958d (diff) | |
Add code
Implement basic diffuse and specular BRDF based heavily on silent's
filamented shader.
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/globals.cginc b/globals.cginc new file mode 100644 index 0000000..5fc9a95 --- /dev/null +++ b/globals.cginc @@ -0,0 +1,24 @@ +#ifndef __GLOBALS_INC
+#define __GLOBALS_INC
+
+sampler2D _MainTex;
+float4 _MainTex_ST;
+fixed4 _Color;
+
+sampler2D _BumpMap;
+float _BumpScale;
+
+sampler2D _OcclusionMap;
+float _OcclusionStrength;
+
+float _Clip;
+int _Mode;
+float _Smoothness;
+float _Metallic;
+float _Spherical_Harmonics;
+
+float _reflectance;
+float _specularAntiAliasingVariance;
+float _specularAntiAliasingThreshold;
+
+#endif // __GLOBALS_INC
|
