Added CaughtRaccoon state to AI FSM #449
|
@ -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
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue