Skip to content

Commit 19a5052

Browse files
committed
Fixed: a comple error on Unity 2020.2.
1 parent f613bb7 commit 19a5052

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22
**Universal Toon Shader [a.k.a. Unity-Chan Toon Shader]**
3+
## [2.2.1] - 2020/02/12
4+
### Fixed
5+
- A compile error on Unity 2020.2.
36

47
## [2.2.0] - 2020/07/07
58
The first UTS/UniversalToon for URP official release.

Runtime/Shaders/UniversalToonBody.hlsl

+2-1
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,10 @@
195195
return ShadeSH9(float4(N,1));
196196
}
197197

198-
199198
inline void InitializeStandardLitSurfaceDataUTS(float2 uv, out SurfaceData outSurfaceData)
199+
200200
{
201+
outSurfaceData = (SurfaceData)0;
201202
// half4 albedoAlpha = SampleAlbedoAlpha(uv, TEXTURE2D_ARGS(_BaseMap, sampler_BaseMap));
202203
half4 albedoAlpha = half4(1.0,1.0,1.0,1.0);
203204

0 commit comments

Comments
 (0)