madumpa / urp_stylizedlitshader Goto Github PK
View Code? Open in Web Editor NEWMadumpa's URP Stylized Lit Shader Repository
Madumpa's URP Stylized Lit Shader Repository
안녕하세요.
혹, 패키지 매니저를 통해 다운로드할 수 있도록 패키지화할 계획이 있으신가요?
아직 없으시다면 PR을 해보려고합니다.
main 브랜치가 아닌 package manager를 위한 다른 브랜치에 머지해주실 계획이 있으신지 궁금합니다.
감사합니다.
URP 10에서는 Meta부분 Pass 정의가 '#pragma fragment UniversalFragmentMeta'로 되어있으나,
URP 12에서는 URP의 Lit 셰이더의 변화가 생기면서 UniversalFragmentMeta + Lit으로 변경되어 있습니다.
그래서 이 리포에 URP12용으로 #pragma fragment UniversalFragmentMetaLit로 수정된 버전도 있으면 좋을 것 같습니다.
When I import a package, the following error occurs:
Shader error in 'Universal Render Pipeline/Stylized Lit': 'InitializeStandardLitSurfaceData': output parameter 'outSurfaceData' not completely initialized at
This issue can be resolved by adding the following to the 'StylizedLitInput.hlsl' line 85
inline void InitializeStandardLitSurfaceData(float2 uv, out SurfaceData outSurfaceData)
{
// Added Line
outSurfaceData = (SurfaceData)0;
half4 albedoAlpha = SampleAlbedoAlpha(uv, TEXTURE2D_ARGS(_BaseMap, sampler_BaseMap));
outSurfaceData.alpha = Alpha(albedoAlpha.a, _BaseColor, _Cutoff);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.