Skip to content

Commit

Permalink
Fixed: a comple error on Unity 2020.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
H3idi-X committed Feb 12, 2021
1 parent f613bb7 commit 19a5052
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog
**Universal Toon Shader [a.k.a. Unity-Chan Toon Shader]**
## [2.2.1] - 2020/02/12
### Fixed
- A compile error on Unity 2020.2.

## [2.2.0] - 2020/07/07
The first UTS/UniversalToon for URP official release.
Expand Down
3 changes: 2 additions & 1 deletion Runtime/Shaders/UniversalToonBody.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,10 @@
return ShadeSH9(float4(N,1));
}


inline void InitializeStandardLitSurfaceDataUTS(float2 uv, out SurfaceData outSurfaceData)

{
outSurfaceData = (SurfaceData)0;
// half4 albedoAlpha = SampleAlbedoAlpha(uv, TEXTURE2D_ARGS(_BaseMap, sampler_BaseMap));
half4 albedoAlpha = half4(1.0,1.0,1.0,1.0);

Expand Down

0 comments on commit 19a5052

Please sign in to comment.