vault backup: 2024-03-12 16:22:56
This commit is contained in:
parent
13c9c9e457
commit
b5389383a8
@ -219,6 +219,10 @@ else if (Mat.IS_BASE_PASS)
|
|||||||
#endif
|
#endif
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### MaterialTemplate.ush
|
||||||
|
MaterialTemplate.ush中定义许多模版函数,里面的具体内容会在HLSLMaterialTranslator.h中的**GetMaterialShaderCode()** 中添加。最后这些函数会在BassPassPixelShader.usf中调用。
|
||||||
|
|
||||||
|
|
||||||
### 是否需要Toon
|
### 是否需要Toon
|
||||||
在材质中:
|
在材质中:
|
||||||
```c++
|
```c++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user