Added CaughtRaccoon state to AI FSM #449

Merged
maverickdgg merged 5 commits from Navigation into main 2023-03-31 17:05:28 +08:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit 3fef57f88a - Show all commits

View File

@ -8,6 +8,7 @@ struct MatPropData
int textureIndex;
float alpha;
float sliderThreshold;
float borderThickness;
vec4 sliderStartColor;
vec4 sliderEndColor;
vec4 sliderBarColor;
@ -43,6 +44,8 @@ void main()
{
//fragColor = texture(textures[nonuniformEXT(MatProp.data[In2.materialIndex].textureIndex)], In.uv);
if (In.uv.x > MatProp.data[In2.materialIndex].sliderThreshold)
fragColor = MatProp.data[In2.materialIndex].sliderBarColor;
else