카테고리 없음
[셰이더] Shader Snippet / Pre-processer
ssong_dev
2022. 11. 24. 16:58
https://walll4542.wixsite.com/watchthis/post/unityshader-shader-snippet-pre-processer
(UnityShader) Shader Snippet / Pre-processer
안녕하세요. 여러분 모두 즐거운 추석 보내시고 계신지요. 이번 포스트에서는 반복 작업과 분기 작업에 매우 유용한 쉐이더 전처리기(Pre-processer)를 전체적으로 다뤄볼 것입니다. 쉐이더 스니핏(
walll4542.wixsite.com
https://docs.unity3d.com/Manual/SL-MultipleProgramVariants.html
Unity - Manual: Declaring and using shader keywords in HLSL
Targeting graphics APIs and platforms in HLSL Declaring and using shader keywords in HLSL You can declare shaderA program that runs on the GPU. More infoSee in Glossary keywords so shaders behave differently when you enable or disable the keywords. You can
docs.unity3d.com