Hi, I have been converting Classic FPSC decals however I found some that are 5x5 & 7x7 sheets, I have tried using
decal_animate4.fx , ( and ) decal_animate8.fx , neither show the decal correctly.
I tried changing the following > = 4.000000; below to 5.000000;
string Description = "Decal Animate Shader";
#include "constantbuffers.fx"
#include "settings.fx"
float4x4 WorldView : WorldView;
float4x4 WorldViewProj : WorldViewProjection;
float Time: Time;
float sintime : SinTime;
float SpriteRows : Power
<
string UIName = "Rows";
string UIWidget = "slider";
float UIMin = 1.0;
float UIMax = 16.0;
float UIStep = 1.0;
> = 5.000000;
float SpriteColumns : Power
<
string UIName = "Columns";
string UIWidget = "slider";
float UIMin = 1.0;
float UIMax = 16.0;
float UIStep = 1.0;
> = 5.000000;
float FramesPerSec : Power
<
string UIName = "Frames Per Second";
string UIWidget = "slider";
float UIMin = 0.0;
float UIMax = 30.0;
float UIStep = 0.5;
> = 25.000000;
float Looptime : Power
<
string UIName = "Loop Time";
string UIWidget = "slider";
float UIMin = 1.0;
float UIMax = 200.0;
float UIStep = 1.0;
> = 100.000000;
Then renamed the file to decal_animate5.fx
Can someone help guide me on the best way to get 5x5 or 7x7 decals to show as they should
Thanks in advance