mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
0ecaa8db51
* add surface shader * remove unused item * arrange main-functions * arrange main-functions * fix compatible lighting mode
18 lines
285 B
Plaintext
18 lines
285 B
Plaintext
struct SurfacesMaterialData
|
|
{
|
|
HIGHP_VALUE_STRUCT_DEFINE(vec3, worldPos);
|
|
|
|
vec4 baseColor;
|
|
vec4 specular;
|
|
vec3 worldNormal;
|
|
vec3 emissive;
|
|
|
|
vec3 shade1;
|
|
vec3 shade2;
|
|
float baseStep;
|
|
float baseFeather;
|
|
float shadeStep;
|
|
float shadeFeather;
|
|
float shadowCover;
|
|
};
|