@@ -46,5 +46,4 @@
|
||||
*.RTF diff=astextplain
|
||||
|
||||
*.fbx filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.dds filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
|
||||
@@ -32,6 +32,13 @@ sampler BorderZeroSampler = sampler_state
|
||||
BorderColor = float4(0, 0, 0, 0);
|
||||
};
|
||||
|
||||
sampler PointSampler = sampler_state
|
||||
{
|
||||
Filter = MIN_MAG_MIP_POINT;
|
||||
AddressU = wrap;
|
||||
AddressV = wrap;
|
||||
};
|
||||
|
||||
RasterizerState RS_Default
|
||||
{
|
||||
FillMode = Solid;
|
||||
@@ -106,9 +113,9 @@ BlendState BS_AlphaBlend // ALPHA_BLEND
|
||||
BlendEnable[7] = true;
|
||||
|
||||
// Ac * Aa + Bc * (1 - Aa);
|
||||
SrcBlend = Src_Alpha;
|
||||
DestBlend = Inv_Src_Alpha;
|
||||
BlendOp = Add;
|
||||
SrcBlend = Src_Alpha;
|
||||
DestBlend = Inv_Src_Alpha;
|
||||
BlendOp = Add;
|
||||
};
|
||||
|
||||
BlendState BS_Blend // ADDITIVE_BLEND
|
||||
@@ -183,3 +190,21 @@ float2 Get_MovedUV(float2 vOriginalUV, float fDeltaU, float fDeltaV, uint iIndex
|
||||
float2 vOffset = float2(iIndexU * fDeltaU, iIndexV * fDeltaV);
|
||||
return vOriginalUV * vDelta + vOffset;
|
||||
}
|
||||
|
||||
float2 UV_Cutting(float2 vUV, float2 vUVCutting, int iCurrentFrame)
|
||||
{
|
||||
float2 UV = vUV; // 이미지의 UV값
|
||||
|
||||
int iTotalFrame = vUVCutting.x * vUVCutting.y; // 이미지의 최대 프레임 (몇 곱하기 몇인지)
|
||||
|
||||
int iFrameX = iCurrentFrame % (int) vUVCutting.x; // 현재 x축의 위치(현재 이미지의 몇번째 칸을 보여줄 지)
|
||||
int iFrameY = iCurrentFrame / (int) vUVCutting.x; // 현재 y축의 위치(현재 이미지의 몇번째 줄을 보여줄 지)
|
||||
|
||||
float fFreamWidth = 1.0 / vUVCutting.x; // 1.0 나누기 이미지 갯수를 해서 한칸에 얼마나 갈지 정해준다.
|
||||
float fFreamHeight = 1.0 / vUVCutting.y; // 1.0 나누기 이미지 갯수를 해서 한줄에 얼마나 갈지 정해준다.
|
||||
|
||||
UV.x = UV.x * fFreamWidth + iFrameX * fFreamWidth; // 먼저 uv를 0~1이 아닌 0~fFrameWidth로 만든 다음에 한칸씩 옆으로 밀어준다.
|
||||
UV.y = UV.y * fFreamHeight + iFrameY * fFreamHeight; // 먼저 uv를 0~1이 아닌 0~fFrameHeight로 만든 다음에 한줄씩 밑으로 내려준다.
|
||||
|
||||
return UV;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ VS_OUT VS_MAIN(VS_IN In)
|
||||
|
||||
struct PS_IN
|
||||
{
|
||||
float4 vPosition : SV_POSITION;
|
||||
float4 vPosition : SV_POSITION;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
};
|
||||
|
||||
@@ -69,16 +69,16 @@ PS_OUT_BACKBUFFER PS_OUT_LASTCOLOR(PS_IN In)
|
||||
Out.vBackBuffer.rgb = vColorTexture.rgb;
|
||||
break;
|
||||
case 2:
|
||||
Out.vBackBuffer.rgb *= vColorTexture.rgb;
|
||||
Out.vBackBuffer.rgb += vColorTexture.rgb;
|
||||
break;
|
||||
case 3:
|
||||
Out.vBackBuffer.rgb -= vColorTexture.rgb;
|
||||
break;
|
||||
case 4:
|
||||
Out.vBackBuffer.rgb /= vColorTexture.rgb;
|
||||
Out.vBackBuffer.rgb *= vColorTexture.rgb;
|
||||
break;
|
||||
case 5:
|
||||
Out.vBackBuffer.rgb += vColorTexture.rgb;
|
||||
Out.vBackBuffer.rgb /= vColorTexture.rgb;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -11,8 +11,8 @@ struct Particle
|
||||
|
||||
struct ParticleValue
|
||||
{
|
||||
float fSpeed;
|
||||
float fRotaionSpeed;
|
||||
float fSpeed;
|
||||
float fRotaionSpeed;
|
||||
|
||||
float4 vOriginRight;
|
||||
float4 vOriginUp;
|
||||
@@ -21,40 +21,56 @@ struct ParticleValue
|
||||
|
||||
float2 vMaskingUVMoveTime;
|
||||
float2 vDiffuseUVMoveTime;
|
||||
float2 vNoiseUVMoveTime;
|
||||
float2 vAniTime;
|
||||
|
||||
float2 vAniIndex;
|
||||
};
|
||||
|
||||
struct ParticleOut
|
||||
{
|
||||
float4 vRight;
|
||||
float4 vUp;
|
||||
float4 vLook;
|
||||
float4 vTranslation;
|
||||
float2 vLifeTime;
|
||||
|
||||
float2 vMaskingUVMoveTime;
|
||||
float2 vDiffuseUVMoveTime;
|
||||
float2 vAniTime;
|
||||
|
||||
float2 vAniIndex;
|
||||
|
||||
};
|
||||
|
||||
|
||||
StructuredBuffer<Particle> g_ParticleBufferInput : register(t0);
|
||||
StructuredBuffer<ParticleValue> g_ParticleValueBufferInput : register(t1);
|
||||
|
||||
RWStructuredBuffer<ParticleOut> g_ParticleBufferOutput : register(u0);
|
||||
RWStructuredBuffer<Particle> g_VBInstanceOutput : register(u0);
|
||||
RWStructuredBuffer<ParticleValue> g_ParticleValueOutput : register(u1);
|
||||
|
||||
cbuffer g_ConstantBuffer : register(b0) // b0 << 이 숫자와 컨스턴트 쉐이더 바인딩할때 인덱스가 동일해야함
|
||||
{
|
||||
float fTimeDelta;
|
||||
row_major matrix CamViewInvMatrix;
|
||||
|
||||
float fPadding; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다.
|
||||
float fPadding2;
|
||||
float fPadding3;
|
||||
bool isLoop; // 상수 버퍼에서 불값은 4바이트로 처리되기 때문에 반드시 클라에서는 int형으로 선언해라
|
||||
bool isBillboard;
|
||||
bool isPadding2;
|
||||
bool isPadding3;
|
||||
|
||||
float fTimeDelta;
|
||||
float fPadding; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다.
|
||||
float fPadding2;
|
||||
float fPadding3;
|
||||
}
|
||||
|
||||
void Billboard(Particle particle)
|
||||
{
|
||||
if (isBillboard == true)
|
||||
{
|
||||
float3 vScale;
|
||||
|
||||
vScale.x = length(particle.vRight);
|
||||
vScale.y = length(particle.vUp);
|
||||
vScale.z = length(particle.vLook);
|
||||
|
||||
|
||||
particle.vRight = CamViewInvMatrix[0] * vScale.x;
|
||||
particle.vUp = CamViewInvMatrix[1] * vScale.y;
|
||||
particle.vLook = CamViewInvMatrix[2] * vScale.z;
|
||||
|
||||
//180도 회전 시키기
|
||||
particle.vRight.x *= -1.f;
|
||||
particle.vLook.z *= -1.f;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
//내가 몇개의 스레드를 사용할 것인지 지정하는데
|
||||
@@ -69,8 +85,6 @@ void CS_MAIN(
|
||||
|
||||
ParticleValue particleValue = g_ParticleValueBufferInput[iIndex];
|
||||
|
||||
ParticleOut ParticleOut;
|
||||
|
||||
// 라이프타임 움직임
|
||||
particle.vTranslation.y -= particleValue.fSpeed * fTimeDelta;
|
||||
|
||||
@@ -78,10 +92,18 @@ void CS_MAIN(
|
||||
|
||||
if (particle.vLifeTime.x >= particle.vLifeTime.y)
|
||||
{
|
||||
if (isLoop == false)
|
||||
{
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
particle.vLifeTime.x = 0.f;
|
||||
particle.vTranslation.y = 0.f;
|
||||
}
|
||||
|
||||
Billboard(particle);
|
||||
|
||||
|
||||
//애니메이션 속도 , 인덱스
|
||||
|
||||
@@ -91,7 +113,7 @@ void CS_MAIN(
|
||||
{
|
||||
particleValue.vAniTime.x = 0.f;
|
||||
|
||||
particleValue.vAniIndex.x++;
|
||||
particleValue.vAniIndex.x += 1.f;
|
||||
|
||||
if (particleValue.vAniIndex.x > particleValue.vAniIndex.y) // 애니메이션에 끝에 다다랐다면
|
||||
{
|
||||
@@ -105,7 +127,7 @@ void CS_MAIN(
|
||||
|
||||
particleValue.vMaskingUVMoveTime.x += fTimeDelta;
|
||||
|
||||
if (particleValue.vMaskingUVMoveTime.x >= particleValue.vMaskingUVMoveTime.x)
|
||||
if (particleValue.vMaskingUVMoveTime.x >= particleValue.vMaskingUVMoveTime.y)
|
||||
{
|
||||
particleValue.vMaskingUVMoveTime.x = 0.f;
|
||||
}
|
||||
@@ -115,25 +137,23 @@ void CS_MAIN(
|
||||
|
||||
particleValue.vDiffuseUVMoveTime.x += fTimeDelta;
|
||||
|
||||
if (particleValue.vDiffuseUVMoveTime.x >= particleValue.vDiffuseUVMoveTime.x)
|
||||
if (particleValue.vDiffuseUVMoveTime.x >= particleValue.vDiffuseUVMoveTime.y)
|
||||
{
|
||||
particleValue.vDiffuseUVMoveTime.x = 0.f;
|
||||
}
|
||||
|
||||
//노이즈 움직임
|
||||
particleValue.vNoiseUVMoveTime.x += fTimeDelta;
|
||||
|
||||
if (particleValue.vNoiseUVMoveTime.x >= particleValue.vNoiseUVMoveTime.y)
|
||||
{
|
||||
particleValue.vNoiseUVMoveTime.x = 0.f;
|
||||
}
|
||||
|
||||
|
||||
//아웃풋 대입
|
||||
|
||||
ParticleOut.vRight = particle.vRight;
|
||||
ParticleOut.vUp = particle.vUp;
|
||||
ParticleOut.vLook = particle.vLook;
|
||||
ParticleOut.vTranslation = particle.vTranslation;
|
||||
ParticleOut.vLifeTime = particle.vLifeTime;
|
||||
|
||||
ParticleOut.vMaskingUVMoveTime = particleValue.vMaskingUVMoveTime;
|
||||
ParticleOut.vDiffuseUVMoveTime = particleValue.vDiffuseUVMoveTime;
|
||||
ParticleOut.vAniTime = particleValue.vAniTime;
|
||||
ParticleOut.vAniIndex = particleValue.vAniIndex;
|
||||
|
||||
|
||||
g_ParticleBufferOutput[iIndex] = ParticleOut;
|
||||
g_VBInstanceOutput[iIndex] = particle;
|
||||
g_ParticleValueOutput[iIndex] = particleValue;
|
||||
|
||||
}
|
||||
|
||||
@@ -3,17 +3,24 @@
|
||||
matrix g_WorldMatrix, g_ViewMatrix, g_ProjMatrix;
|
||||
Texture2D g_DepthTexture;
|
||||
|
||||
int g_iImageCount;
|
||||
int g_iImageCountX;
|
||||
int g_iImageCountY;
|
||||
|
||||
float g_fFar;
|
||||
float g_fTime;
|
||||
float g_fFrame;
|
||||
float g_fAlpha;
|
||||
float g_fOwnerAlpha;
|
||||
float g_fCanvasAlpha;
|
||||
float g_fDeltaU;
|
||||
float g_fDeltaV;
|
||||
uint g_iIndexU;
|
||||
uint g_iIndexV;
|
||||
|
||||
uint g_iQuestType;
|
||||
|
||||
Texture2D g_Texture;
|
||||
Texture2D g_Texture1;
|
||||
Texture2D g_Texture2;
|
||||
Texture2D g_DiffuseTexture;
|
||||
Texture2D g_MaskingTexture;
|
||||
@@ -57,7 +64,7 @@ struct PS_OUT
|
||||
float4 vColor : SV_Target0;
|
||||
};
|
||||
|
||||
PS_OUT PS_MAIN(PS_IN In) // 일반 UI
|
||||
PS_OUT PS_MAIN(PS_IN In) // ?쇰컲 UI
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
@@ -70,86 +77,6 @@ PS_OUT PS_MAIN(PS_IN In) // 일반 UI
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_Cursor(PS_IN In) // 마우스 커서
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
float4 Color = float4(0.f, 0.f, 0.f, 0.f); // Out에 출력하기 위한 값
|
||||
float4 White = float4(1.f, 1.f, 1.f, 1.f); // 마지막에 하얀색으로 바꿔주기 위한 값
|
||||
|
||||
float2 UV = In.vTexcoord; // UV를 돌리기 위해서 받아옴
|
||||
float2 Center = float2(0.5f, 0.5f); // 이미지를 회전 하기 전에 중심으로 옮길 값
|
||||
|
||||
float CW = -g_fTime; // 시계 방향
|
||||
float CCW = g_fTime; // 반시계 방향
|
||||
|
||||
float2 RedCircle = UV; // 빨간 원을 반시계 방향으로 돌려주기 위한 준비
|
||||
float2 RedUV = UV - Center; // 중심으로 옮겨줌
|
||||
// 값을 돌리기 위해서 회전 행렬을 만들어 준다.
|
||||
RedCircle.x = RedUV.x * cos(CCW) - RedUV.y * sin(CCW); // x축은 x*cos(각도) - y*sin(각도)
|
||||
RedCircle.y = RedUV.x * sin(CCW) + RedUV.y * cos(CCW); // y축은 x*sin(각도) + y*cos(각도)
|
||||
RedCircle = RedCircle + Center; // 이제 위에서 다 돌려주면 다시 중심에서 원점으로 옮겨준다.
|
||||
|
||||
float2 BlueCircle = UV; // 파란색은 시계 방향으로 돌려준다
|
||||
float2 BlueUV = UV - Center; // 중심으로 옮겨줌
|
||||
// 값을 돌리기 위해서 회전 행렬을 만들어 준다.
|
||||
BlueCircle.x = BlueUV.x * cos(CW) - BlueUV.y * sin(CW); // x축은 x*cos(각도) - y*sin(각도)
|
||||
BlueCircle.y = BlueUV.x * sin(CW) + BlueUV.y * cos(CW); // y축은 x*sin(각도) + y*cos(각도)
|
||||
BlueCircle = BlueCircle + Center; // 이제 위에서 다 돌려주면 다시 중심에서 원점으로 옮겨준다.
|
||||
|
||||
// 두개 다 같은 이미지 인데 원의 색상이 2개임
|
||||
float4 Texture1 = g_Texture.Sample(ClampSampler, RedCircle); // 큰 원은 빨간색임
|
||||
float4 Texture2 = g_Texture2.Sample(ClampSampler, BlueCircle); // 작은 원은 파란색임
|
||||
|
||||
if (Texture1.r >= 0.7f) // 우선 빨간 원을 먼저 그려준다.
|
||||
Color = Texture1;
|
||||
|
||||
if (Texture2.b >= 0.7f) // 다음으로 파란 원을 그려준다.
|
||||
Color = Texture2;
|
||||
|
||||
if (all(Color.rgb <= 0.5f)) // 이제 혹시 모를 색상이 들어갈 수 있어서 한번 정리 해준다.
|
||||
discard;
|
||||
|
||||
Color = White; // 하얀색으로 바꿔줌
|
||||
|
||||
Out.vColor = Color;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_Sptire_Sheet(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
float4 Color = float4(0.f, 0.f, 0.f, 0.f); // 최종 이미지 출력
|
||||
|
||||
float2 UV = In.vTexcoord; // 이미지의 UV값
|
||||
|
||||
int iTotalFrame = g_iImageCount * g_iImageCount; // 이미지의 최대 프레임 (몇 곱하기 몇인지)
|
||||
|
||||
int iCurrentFrame = int(floor(g_fTime / g_fFrame)) % iTotalFrame; // 현재 프레임이 어디 위치인지
|
||||
|
||||
int iFrameX = iCurrentFrame % g_iImageCount; // 현재 x축의 위치(현재 이미지의 몇번째 칸을 보여줄 지)
|
||||
int iFrameY = iCurrentFrame / g_iImageCount; // 현재 y축의 위치(현재 이미지의 몇번째 줄을 보여줄 지)
|
||||
|
||||
float fFreamWidth = 1.0 / g_iImageCount; // 1.0 나누기 이미지 갯수를 해서 한칸에 얼마나 갈지 정해준다.
|
||||
float fFreamHeight = 1.0 / g_iImageCount; // 1.0 나누기 이미지 갯수를 해서 한줄에 얼마나 갈지 정해준다.
|
||||
|
||||
UV.x = UV.x * fFreamWidth + iFrameX * fFreamWidth; // 먼저 uv를 0~1이 아닌 0~fFrameWidth로 만든 다음에 한칸씩 옆으로 밀어준다.
|
||||
UV.y = UV.y * fFreamHeight + iFrameY * fFreamHeight; // 먼저 uv를 0~1이 아닌 0~fFrameHeight로 만든 다음에 한줄씩 밑으로 내려준다.
|
||||
|
||||
float4 Texture = g_Texture.Sample(DefaultSampler, UV);
|
||||
|
||||
Color = Texture;
|
||||
|
||||
if (Color.r <= 0.f)
|
||||
discard;
|
||||
|
||||
Out.vColor = Color;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_AlphaBlend(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
@@ -161,22 +88,142 @@ PS_OUT PS_AlphaBlend(PS_IN In)
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_Key_Hold(PS_IN In)
|
||||
PS_OUT PS_Clamp(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
float3 Grey = float3(128.f, 128.f, 128.f) / 255.f;
|
||||
|
||||
float4 Color = g_Texture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
if (Color.r >= 0.3f)
|
||||
Color.rgb = Grey;
|
||||
Out.vColor = Color;
|
||||
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_Cursor(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
float4 Color = float4(0.f, 0.f, 0.f, 0.f);
|
||||
float4 White = float4(1.f, 1.f, 1.f, 1.f);
|
||||
|
||||
float2 UV = In.vTexcoord;
|
||||
float2 Center = float2(0.5f, 0.5f);
|
||||
|
||||
float CW = -g_fTime;
|
||||
float CCW = g_fTime;
|
||||
|
||||
float2 RedCircle = UV;
|
||||
float2 RedUV = UV - Center;
|
||||
|
||||
RedCircle.x = RedUV.x * cos(CCW) - RedUV.y * sin(CCW);
|
||||
RedCircle.y = RedUV.x * sin(CCW) + RedUV.y * cos(CCW);
|
||||
RedCircle = RedCircle + Center;
|
||||
|
||||
float2 BlueCircle = UV;
|
||||
float2 BlueUV = UV - Center;
|
||||
|
||||
BlueCircle.x = BlueUV.x * cos(CW) - BlueUV.y * sin(CW);
|
||||
BlueCircle.y = BlueUV.x * sin(CW) + BlueUV.y * cos(CW);
|
||||
BlueCircle = BlueCircle + Center;
|
||||
|
||||
|
||||
float4 Texture1 = g_Texture.Sample(ClampSampler, RedCircle);
|
||||
float4 Texture2 = g_Texture2.Sample(ClampSampler, BlueCircle);
|
||||
|
||||
if (Texture1.r >= 0.7f)
|
||||
Color = Texture1;
|
||||
|
||||
if (Texture2.b >= 0.7f)
|
||||
Color = Texture2;
|
||||
|
||||
if (all(Color.rgb <= 0.5f))
|
||||
discard;
|
||||
|
||||
Color = White;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_Key_Hold_Rotation(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
float4 Color = g_Texture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
if (Color.a <= 0.1f)
|
||||
discard;
|
||||
|
||||
Out.vColor = Color;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_Sptire_Sheet(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
float4 Color = float4(0.f, 0.f, 0.f, 0.f);
|
||||
float Alpha = g_fAlpha * g_fOwnerAlpha * g_fCanvasAlpha;
|
||||
float2 UV = In.vTexcoord;
|
||||
|
||||
int iTotalFrame = g_iImageCountX * g_iImageCountY;
|
||||
|
||||
int iCurrentFrame = int(floor(g_fTime / g_fFrame)) % iTotalFrame;
|
||||
|
||||
int iFrameX = iCurrentFrame % g_iImageCountX;
|
||||
int iFrameY = iCurrentFrame / g_iImageCountX;
|
||||
|
||||
float fFreamWidth = 1.0 / g_iImageCountX;
|
||||
float fFreamHeight = 1.0 / g_iImageCountY;
|
||||
|
||||
UV.x = UV.x * fFreamWidth + iFrameX * fFreamWidth;
|
||||
UV.y = UV.y * fFreamHeight + iFrameY * fFreamHeight;
|
||||
|
||||
float4 Texture = g_Texture.Sample(DefaultSampler, UV);
|
||||
|
||||
Color = Texture;
|
||||
|
||||
if (Color.r <= 0.4f)
|
||||
discard;
|
||||
|
||||
Color.a = Alpha;
|
||||
|
||||
Out.vColor = Color;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_QuestType(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
float3 Color = float3(253.f, 207.f, 11.f) / 255.f;
|
||||
float4 Texture1 = g_Texture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
if (g_iQuestType == 0)
|
||||
{
|
||||
if (Texture1.r >= 0.3f)
|
||||
{
|
||||
Texture1.rgb = Color;
|
||||
}
|
||||
}
|
||||
|
||||
Out.vColor = Texture1;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_UVMult(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
float4 color = g_Texture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
Out.vColor = color;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
technique11 PosTexTechnique11
|
||||
{
|
||||
pass Default
|
||||
@@ -199,6 +246,16 @@ technique11 PosTexTechnique11
|
||||
PixelShader = compile ps_5_0 PS_AlphaBlend();
|
||||
}
|
||||
|
||||
pass TextureClamp
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
GeometryShader = NULL;
|
||||
PixelShader = compile ps_5_0 PS_Clamp();
|
||||
}
|
||||
|
||||
pass Mouse_Cursor
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
@@ -213,19 +270,39 @@ technique11 PosTexTechnique11
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
SetBlendState(BS_UIBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
GeometryShader = NULL;
|
||||
PixelShader = compile ps_5_0 PS_Sptire_Sheet();
|
||||
}
|
||||
|
||||
pass Key_Hold
|
||||
pass Key_Hold_Rotation
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
GeometryShader = NULL;
|
||||
PixelShader = compile ps_5_0 PS_Key_Hold();
|
||||
PixelShader = compile ps_5_0 PS_Key_Hold_Rotation();
|
||||
}
|
||||
|
||||
pass QuestType
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
GeometryShader = NULL;
|
||||
PixelShader = compile ps_5_0 PS_QuestType();
|
||||
}
|
||||
|
||||
pass UVMult
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
GeometryShader = NULL;
|
||||
PixelShader = compile ps_5_0 PS_UVMult();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,10 +11,12 @@ float g_LifeRatio;
|
||||
float g_fRimStrength;
|
||||
float g_fRimPower;
|
||||
float3 g_vRimColor;
|
||||
float4 g_TestColor;
|
||||
vector g_vCamPosition;
|
||||
|
||||
Texture2D g_DiffuseTexture;
|
||||
Texture2D g_NormalTexture;
|
||||
Texture2D g_MaskingTexture;
|
||||
|
||||
matrix g_BoneMatrices[512];
|
||||
|
||||
@@ -272,6 +274,38 @@ PS_OUT_BLUR PS_MAIN_BLUR(PS_IN_BLUR In)
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_MAIN_TEST(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
float4 vMtrlDiffuse = g_TestColor;
|
||||
|
||||
float4 vMtrlMask = g_MaskingTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
float fAlpha = vMtrlMask.r;
|
||||
|
||||
if (fAlpha < 0.1f)
|
||||
discard;
|
||||
|
||||
float4 vNormalDesc = g_NormalTexture.Sample(MirrorSampler, In.vTexcoord);
|
||||
float3x3 WorldMatrix = float3x3(In.vTangent, In.vBinormal * -1.f, In.vNormal);
|
||||
float3 vNormal = mul(vNormalDesc.xyz * 2.f - 1.f, WorldMatrix);
|
||||
|
||||
if (g_bRimLight)
|
||||
{
|
||||
float fRimLight = GetRimLight(g_vCamPosition.xyz, In.vWorldPos.xyz, vNormal, g_fRimPower, g_fRimStrength);
|
||||
vMtrlDiffuse.rgb = lerp(vMtrlDiffuse.rgb, g_vRimColor.rgb, fRimLight);
|
||||
}
|
||||
|
||||
Out.vDiffuse = float4(vMtrlDiffuse.rgb * vMtrlMask.r, g_TestColor.a);
|
||||
Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f);
|
||||
Out.vDepth = float4(In.vProjPos.z / In.vProjPos.w, In.vProjPos.w / g_fFar, 0.0f, 1.f);
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
technique11 DefaultTechnique
|
||||
{
|
||||
@@ -313,4 +347,14 @@ technique11 DefaultTechnique
|
||||
GeometryShader = NULL;
|
||||
PixelShader = compile ps_5_0 PS_MAIN_BLUR();
|
||||
}
|
||||
|
||||
pass TestPass
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_AlphaBlend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
GeometryShader = NULL;
|
||||
PixelShader = compile ps_5_0 PS_MAIN_TEST();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -164,7 +164,7 @@ PS_OUT PS_MAIN(PS_IN In)
|
||||
PS_OUT Out;
|
||||
|
||||
vector vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
if (vMtrlDiffuse.a < 0.4f)
|
||||
if (vMtrlDiffuse.a < 0.1f)
|
||||
{
|
||||
discard;
|
||||
}
|
||||
@@ -180,7 +180,7 @@ PS_OUT PS_MAIN(PS_IN In)
|
||||
|
||||
return Out;
|
||||
}
|
||||
PS_OUT PS_MAIN_OUTLINE(PS_IN In)
|
||||
PS_OUT PS_MAIN_SELECT(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
@@ -195,7 +195,7 @@ PS_OUT PS_MAIN_OUTLINE(PS_IN In)
|
||||
|
||||
float3 vNormal = mul(vNormalDesc.xyz * 2.f - 1.f, WorldMatrix);
|
||||
|
||||
Out.vDiffuse = vMtrlDiffuse;
|
||||
Out.vDiffuse = vMtrlDiffuse * float4(0.f, 1.f, 1.f, 0.3f);
|
||||
Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f);
|
||||
Out.vDepth = float4(In.vProjPos.z / In.vProjPos.w, In.vProjPos.w / g_fFar, 0.0f, 1.f);
|
||||
return Out;
|
||||
@@ -439,4 +439,14 @@ technique11 MeshTechnique11
|
||||
GeometryShader = NULL;
|
||||
PixelShader = compile ps_5_0 PS_EFFECT_UVMOVE();
|
||||
}
|
||||
|
||||
pass MapToolPass // 11
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
GeometryShader = NULL;
|
||||
PixelShader = compile ps_5_0 PS_MAIN_SELECT();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,32 +1,68 @@
|
||||
#include "Engine_Shader_Defines.hlsli"
|
||||
|
||||
|
||||
struct ParticleValue
|
||||
{
|
||||
float fSpeed;
|
||||
float fRotaionSpeed;
|
||||
|
||||
float4 vOriginRight;
|
||||
float4 vOriginUp;
|
||||
float4 vOriginLook;
|
||||
float4 vOriginTranslation;
|
||||
|
||||
float2 vMaskingUVMoveTime;
|
||||
float2 vDiffuseUVMoveTime;
|
||||
float2 vNoiseUVMoveTime;
|
||||
float2 vAniTime;
|
||||
|
||||
float2 vAniIndex;
|
||||
};
|
||||
|
||||
|
||||
matrix g_WorldMatrix, g_ViewMatrix, g_ProjMatrix;
|
||||
|
||||
Texture2D g_DiffuseTexture;
|
||||
Texture2D g_NormalTexture;
|
||||
Texture2D g_MaskingTexture;
|
||||
Texture2D g_DissolveTexture;
|
||||
Texture2D g_NoiseTexture;
|
||||
Texture2D g_DiffuseTexture : register(t0);
|
||||
|
||||
Texture2D g_NormalTexture : register(t1);
|
||||
Texture2D g_MaskingTexture : register(t2);
|
||||
Texture2D g_DissolveTexture : register(t3);
|
||||
Texture2D g_NoiseTexture : register(t4);
|
||||
|
||||
StructuredBuffer<ParticleValue> g_ParticleValue : register(t5);
|
||||
|
||||
float4 g_vCamPosition;
|
||||
|
||||
vector g_vColor;
|
||||
|
||||
float2 g_vUVGainAmount;
|
||||
float g_fBlurIntensity; //블러 세기
|
||||
float2 g_vDiffuseUVGainAmount;
|
||||
float2 g_vMaskingUVGainAmount;
|
||||
|
||||
float2 g_vDiffuseNoiseUVGainAmount;
|
||||
float2 g_vMaskNoiseUVGainAmount;
|
||||
|
||||
float2 g_vUVCutting;
|
||||
float2 g_vUVMaskCutting;
|
||||
|
||||
|
||||
float g_fBlurIntensity; //블러 세기
|
||||
float g_fNoiseDistortionIntensity; // 노이즈 왜곡 세기
|
||||
|
||||
float4 g_vEmissive;
|
||||
float g_fColorOption;
|
||||
float g_fEmissiveCutAlpha;
|
||||
float g_fColorOption;
|
||||
float g_fEmissiveCutAlpha;
|
||||
|
||||
bool g_isDiffuse;
|
||||
bool g_isMasking;
|
||||
bool g_isDissolve;
|
||||
bool g_isNoise;
|
||||
bool g_isUVMove;
|
||||
|
||||
bool g_isDiffuseUVMove;
|
||||
bool g_isMaskUVMove;
|
||||
|
||||
float g_fFar;
|
||||
|
||||
|
||||
struct VS_IN
|
||||
{
|
||||
float3 vPosition : POSITION;
|
||||
@@ -48,39 +84,38 @@ struct VS_OUT
|
||||
float4 vNormal : NORMAL;
|
||||
float3 vTangent : TANGENT;
|
||||
float3 vBinormal : BINORMAL;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
float2 vLifeTime : TEXCOORD1;
|
||||
float4 vWorldPos : TEXCOORD2;
|
||||
float4 vProjPos : TEXCOORD3;
|
||||
uint iGPUIndex : TEXCOORD4;
|
||||
};
|
||||
|
||||
VS_OUT VS_MAIN(VS_IN In)
|
||||
VS_OUT VS_MAIN(VS_IN In, uint iGPUIndex : SV_InstanceID)
|
||||
{
|
||||
VS_OUT Out = (VS_OUT) 0;
|
||||
|
||||
matrix matWV, matWVP;
|
||||
row_major matrix matW, matWV, matWVP;
|
||||
|
||||
matWV = mul(g_WorldMatrix, g_ViewMatrix);
|
||||
row_major matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation);
|
||||
|
||||
float4 vProjPos = vector(In.vPosition, 1.f);
|
||||
matW = mul(g_WorldMatrix, TransformMatrix);
|
||||
matWV = mul(matW, g_ViewMatrix);
|
||||
matWVP = mul(matWV, g_ProjMatrix);
|
||||
|
||||
Out.vPosition = mul(vProjPos, matWVP);
|
||||
Out.vProjPos = vProjPos;
|
||||
|
||||
matWVP = mul(matWV, g_ProjMatrix);
|
||||
|
||||
matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation);
|
||||
|
||||
vector vPosition = mul(vector(In.vPosition, 1.f), TransformMatrix);
|
||||
|
||||
Out.vPosition = mul(vPosition, matWVP);
|
||||
Out.vNormal = normalize(mul(vector(In.vNormal, 0.f), TransformMatrix));
|
||||
Out.vTangent = normalize(mul(vector(In.vTangent, 0.f), TransformMatrix)).xyz;
|
||||
Out.vBinormal = normalize(mul(vector(In.vBinormal, 0.f), TransformMatrix)).xyz;
|
||||
Out.vTexcoord = In.vTexcoord;
|
||||
Out.vLifeTime = In.vLifeTime;
|
||||
Out.vWorldPos = mul(vector(In.vPosition, 1.f), g_WorldMatrix);
|
||||
|
||||
|
||||
vector vPosition = mul(vector(In.vPosition, 1.f), matWVP);
|
||||
|
||||
Out.vPosition = vPosition;
|
||||
Out.vNormal = normalize(mul(vector(In.vNormal, 0.f), matW));
|
||||
Out.vTangent = normalize(mul(vector(In.vTangent, 0.f), matW)).xyz;
|
||||
Out.vBinormal = normalize(mul(vector(In.vBinormal, 0.f), matW)).xyz;
|
||||
Out.vTexcoord = In.vTexcoord;
|
||||
Out.vLifeTime = In.vLifeTime;
|
||||
Out.vWorldPos = mul(vector(In.vPosition, 1.f), matW);
|
||||
Out.iGPUIndex = iGPUIndex;
|
||||
Out.vProjPos = vPosition;
|
||||
|
||||
return Out;
|
||||
}
|
||||
@@ -95,11 +130,12 @@ struct PS_IN
|
||||
float2 vLifeTime : TEXCOORD1;
|
||||
float4 vWorldPos : TEXCOORD2;
|
||||
float4 vProjPos : TEXCOORD3;
|
||||
uint iGPUIndex : TEXCOORD4;
|
||||
};
|
||||
|
||||
struct PS_OUT
|
||||
{
|
||||
float4 vDiffuse: SV_TARGET0;
|
||||
float4 vDiffuse : SV_TARGET0;
|
||||
float4 vColorTarget : SV_TARGET1;
|
||||
};
|
||||
|
||||
@@ -109,7 +145,7 @@ PS_OUT PS_MAIN(PS_IN In)
|
||||
PS_OUT Out;
|
||||
vector vMtrlDiffuse;
|
||||
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
vector vMtrlNormal = g_NormalTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
@@ -138,18 +174,48 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In)
|
||||
vector vMtrlDiffuse;
|
||||
vector vMtrlMask;
|
||||
vector vMtrlNoise;
|
||||
vector vMtrlDisolve;
|
||||
vector vMtrlDissolve;
|
||||
|
||||
float2 vTexcoord = In.vTexcoord;
|
||||
|
||||
if (g_isUVMove)
|
||||
{
|
||||
vTexcoord += g_vUVGainAmount * (In.vLifeTime.x / In.vLifeTime.y);
|
||||
}
|
||||
float fAnimIndex = g_ParticleValue[In.iGPUIndex].vAniIndex.x;
|
||||
float2 vDiffuseTime = g_ParticleValue[In.iGPUIndex].vDiffuseUVMoveTime;
|
||||
float2 vMaskingTime = g_ParticleValue[In.iGPUIndex].vMaskingUVMoveTime;
|
||||
float2 vNoiseUVMoveTime = g_ParticleValue[In.iGPUIndex].vNoiseUVMoveTime;
|
||||
|
||||
if (g_isDiffuse == true)
|
||||
{
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, vTexcoord);
|
||||
float2 UV; // 이미지의 UV값
|
||||
|
||||
UV = UV_Cutting(In.vTexcoord, g_vUVCutting, int(fAnimIndex.x));
|
||||
|
||||
if (g_isDiffuseUVMove)
|
||||
{
|
||||
UV += (g_vDiffuseUVGainAmount / g_vUVCutting) * (vDiffuseTime.x / vDiffuseTime.y);
|
||||
}
|
||||
|
||||
/* 노이즈 */
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
float2 vNoiseUV = In.vTexcoord + (g_vDiffuseNoiseUVGainAmount) * (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y);
|
||||
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV);
|
||||
|
||||
//0.5f를 빼는 이유는 중심을 0으로 옮겨서 양음수 방향으로 offset을 줄수 있다.
|
||||
vMtrlNoise.rg -= 0.5f;
|
||||
|
||||
//아마 분할되었다면 noise도 분할해야할듯
|
||||
vMtrlNoise.rg /= g_vUVCutting;
|
||||
|
||||
//노이즈 텍스쳐로 uv를 왜곡함
|
||||
|
||||
UV = UV + (vMtrlNoise).rg * g_fNoiseDistortionIntensity;
|
||||
}
|
||||
|
||||
|
||||
/* 최종 색깔 */
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, UV);
|
||||
|
||||
if (g_vColor.a > 0)
|
||||
vMtrlDiffuse += g_vColor;
|
||||
|
||||
if (vMtrlDiffuse.a < 0.3f)
|
||||
discard;
|
||||
@@ -162,35 +228,51 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In)
|
||||
|
||||
if (g_isMasking == true)
|
||||
{
|
||||
vMtrlMask = g_MaskingTexture.Sample(DefaultSampler, vTexcoord);
|
||||
float2 vMaskTexcoord = In.vTexcoord;
|
||||
|
||||
vMaskTexcoord = UV_Cutting(In.vTexcoord, g_vUVMaskCutting, int(fAnimIndex.x));
|
||||
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
float2 UV; // 이미지의 UV값
|
||||
|
||||
float2 vNoiseUV = In.vTexcoord + (g_vMaskNoiseUVGainAmount) * (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y);
|
||||
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV);
|
||||
|
||||
//노이즈 텍스쳐로 uv를 왜곡함
|
||||
vMaskTexcoord = vMaskTexcoord + (vMtrlNoise - 0.5f).rg * g_fNoiseDistortionIntensity;
|
||||
}
|
||||
|
||||
if (g_isMaskUVMove)
|
||||
{
|
||||
if (vMaskingTime.y > 0)
|
||||
vMaskTexcoord += g_vMaskingUVGainAmount * (vMaskingTime.x / vMaskingTime.y);
|
||||
}
|
||||
|
||||
vMtrlMask = g_MaskingTexture.Sample(PointSampler, vMaskTexcoord);
|
||||
}
|
||||
else
|
||||
{
|
||||
vMtrlMask.r = 1.f;
|
||||
}
|
||||
|
||||
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlMask.r);
|
||||
|
||||
if (g_isDissolve == true)
|
||||
{
|
||||
vMtrlDisolve = g_DissolveTexture.Sample(DefaultSampler, vTexcoord);
|
||||
}
|
||||
else
|
||||
{
|
||||
vMtrlDisolve.r = 0.f;
|
||||
}
|
||||
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vTexcoord);
|
||||
}
|
||||
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlMask.r - vMtrlDisolve.r * (In.vLifeTime.x / In.vLifeTime.y));
|
||||
vMtrlDissolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
if (vMtrlDissolve.r < (In.vLifeTime.x / In.vLifeTime.y))
|
||||
discard;
|
||||
}
|
||||
|
||||
Out.vDiffuse = vMtrlDiffuse;
|
||||
Out.vDiffuse = vMtrlDiffuse;
|
||||
|
||||
// 색깔 추가할 처리 (이미시브)
|
||||
if (vMtrlDiffuse.a >= g_fEmissiveCutAlpha )
|
||||
if (vMtrlDiffuse.a >= g_fEmissiveCutAlpha)
|
||||
Out.vColorTarget = vector(g_vEmissive.rgb, g_fColorOption / 10.f);
|
||||
else
|
||||
Out.vColorTarget = vector(0.f, 0.f, 0.f, 0.f);
|
||||
@@ -204,32 +286,29 @@ struct VS_BLUR_OUT
|
||||
float4 vPosition : SV_POSITION;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
float2 vLifeTime : TEXCOORD1;
|
||||
uint iGPUIndex : TEXCOORD2;
|
||||
};
|
||||
|
||||
VS_BLUR_OUT VS_BLUR(VS_IN In)
|
||||
VS_BLUR_OUT VS_BLUR(VS_IN In, uint iGPUIndex : SV_InstanceID)
|
||||
{
|
||||
VS_BLUR_OUT Out = (VS_BLUR_OUT) 0;
|
||||
|
||||
matrix matWV, matWVP;
|
||||
row_major matrix matW, matWV, matWVP;
|
||||
|
||||
matWV = mul(g_WorldMatrix, g_ViewMatrix);
|
||||
row_major matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation);
|
||||
|
||||
float4 vProjPos = vector(In.vPosition, 1.f);
|
||||
|
||||
Out.vPosition = mul(vProjPos, matWVP);
|
||||
|
||||
matW = mul(g_WorldMatrix, TransformMatrix);
|
||||
matWV = mul(matW, g_ViewMatrix);
|
||||
matWVP = mul(matWV, g_ProjMatrix);
|
||||
|
||||
matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation);
|
||||
vector vPosition = mul(vector(In.vPosition, 1.f), matWVP);
|
||||
|
||||
vector vPosition = mul(vector(In.vPosition, 1.f), TransformMatrix);
|
||||
|
||||
Out.vPosition = mul(vPosition, matWVP);
|
||||
Out.vPosition = vPosition;
|
||||
Out.vTexcoord = In.vTexcoord;
|
||||
Out.vLifeTime = In.vLifeTime;
|
||||
Out.iGPUIndex = iGPUIndex;
|
||||
|
||||
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
@@ -238,6 +317,7 @@ struct PS_BLUR_IN
|
||||
float4 vPosition : SV_POSITION;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
float2 vLifeTime : TEXCOORD1;
|
||||
uint iGPUIndex : TEXCOORD2;
|
||||
|
||||
};
|
||||
|
||||
@@ -255,18 +335,59 @@ PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In)
|
||||
vector vMtrlDiffuse;
|
||||
vector vMtrlMask;
|
||||
vector vMtrlNoise;
|
||||
vector vMtrlDisolve;
|
||||
vector vMtrlDissolve;
|
||||
|
||||
float2 vTexcoord = In.vTexcoord;
|
||||
|
||||
if (g_isUVMove)
|
||||
{
|
||||
vTexcoord += g_vUVGainAmount * (In.vLifeTime.x / In.vLifeTime.y);
|
||||
}
|
||||
float fAnimIndex = g_ParticleValue[In.iGPUIndex].vAniIndex.x;
|
||||
float2 vDiffuseTime = g_ParticleValue[In.iGPUIndex].vDiffuseUVMoveTime;
|
||||
float2 vMaskingTime = g_ParticleValue[In.iGPUIndex].vMaskingUVMoveTime;
|
||||
float2 vNoiseUVMoveTime = g_ParticleValue[In.iGPUIndex].vNoiseUVMoveTime;
|
||||
|
||||
if (g_isDiffuse == true)
|
||||
{
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, vTexcoord);
|
||||
float2 UV = In.vTexcoord; // 이미지의 UV값
|
||||
|
||||
int iTotalFrame = g_vUVCutting.x * g_vUVCutting.y; // 이미지의 최대 프레임 (몇 곱하기 몇인지)
|
||||
|
||||
int iCurrentFrame = int(fAnimIndex.x); // 현재 프레임이 어디 위치인지
|
||||
|
||||
int iFrameX = iCurrentFrame % (int) g_vUVCutting.x; // 현재 x축의 위치(현재 이미지의 몇번째 칸을 보여줄 지)
|
||||
int iFrameY = iCurrentFrame / (int) g_vUVCutting.x; // 현재 y축의 위치(현재 이미지의 몇번째 줄을 보여줄 지)
|
||||
|
||||
float fFreamWidth = 1.0 / g_vUVCutting.x; // 1.0 나누기 이미지 갯수를 해서 한칸에 얼마나 갈지 정해준다.
|
||||
float fFreamHeight = 1.0 / g_vUVCutting.y; // 1.0 나누기 이미지 갯수를 해서 한줄에 얼마나 갈지 정해준다.
|
||||
|
||||
UV.x = UV.x * fFreamWidth + iFrameX * fFreamWidth; // 먼저 uv를 0~1이 아닌 0~fFrameWidth로 만든 다음에 한칸씩 옆으로 밀어준다.
|
||||
UV.y = UV.y * fFreamHeight + iFrameY * fFreamHeight; // 먼저 uv를 0~1이 아닌 0~fFrameHeight로 만든 다음에 한줄씩 밑으로 내려준다.
|
||||
|
||||
|
||||
if (g_isDiffuseUVMove)
|
||||
{
|
||||
UV += (g_vDiffuseUVGainAmount / g_vUVCutting) * (vDiffuseTime.x / vDiffuseTime.y);
|
||||
}
|
||||
|
||||
/* 노이즈 */
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
float2 vNoiseUV = In.vTexcoord + (g_vDiffuseNoiseUVGainAmount) * (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y);
|
||||
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV);
|
||||
|
||||
//0.5f를 빼는 이유는 중심을 0으로 옮겨서 양음수 방향으로 offset을 줄수 있다.
|
||||
vMtrlNoise.rg -= 0.5f;
|
||||
|
||||
//아마 분할되었다면 noise도 분할해야할듯
|
||||
vMtrlNoise.rg /= g_vUVCutting;
|
||||
|
||||
//노이즈 텍스쳐로 uv를 왜곡함
|
||||
|
||||
UV = UV + (vMtrlNoise).rg * g_fNoiseDistortionIntensity;
|
||||
}
|
||||
|
||||
|
||||
/* 최종 색깔 */
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, UV);
|
||||
|
||||
vMtrlDiffuse += g_vColor;
|
||||
|
||||
if (vMtrlDiffuse.a < 0.3f)
|
||||
discard;
|
||||
@@ -279,30 +400,44 @@ PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In)
|
||||
|
||||
if (g_isMasking == true)
|
||||
{
|
||||
vMtrlMask = g_MaskingTexture.Sample(DefaultSampler, vTexcoord);
|
||||
float2 vMaskTexcoord = In.vTexcoord;
|
||||
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
|
||||
float2 vNoiseUV = In.vTexcoord + (g_vMaskNoiseUVGainAmount) * (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y);
|
||||
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV);
|
||||
|
||||
//노이즈 텍스쳐로 uv를 왜곡함
|
||||
vMaskTexcoord = vMaskTexcoord + (vMtrlNoise - 0.5f).rg * g_fNoiseDistortionIntensity;
|
||||
}
|
||||
|
||||
if (g_isMaskUVMove)
|
||||
{
|
||||
if (vMaskingTime.y > 0)
|
||||
vMaskTexcoord += g_vMaskingUVGainAmount * (vMaskingTime.x / vMaskingTime.y);
|
||||
}
|
||||
|
||||
vMtrlMask = g_MaskingTexture.Sample(PointSampler, vMaskTexcoord);
|
||||
}
|
||||
else
|
||||
{
|
||||
vMtrlMask.r = 1.f;
|
||||
}
|
||||
|
||||
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlMask.r);
|
||||
|
||||
if (g_isDissolve == true)
|
||||
{
|
||||
vMtrlDisolve = g_DissolveTexture.Sample(DefaultSampler, vTexcoord);
|
||||
}
|
||||
else
|
||||
{
|
||||
vMtrlDisolve.r = 0.f;
|
||||
}
|
||||
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vTexcoord);
|
||||
}
|
||||
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlMask.r - vMtrlDisolve.r * (In.vLifeTime.x / In.vLifeTime.y));
|
||||
vMtrlDissolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
if (vMtrlDissolve.r < (In.vLifeTime.x / In.vLifeTime.y))
|
||||
discard;
|
||||
}
|
||||
|
||||
Out.vDiffuse = vMtrlDiffuse * g_fBlurIntensity;
|
||||
|
||||
return Out;
|
||||
@@ -310,7 +445,7 @@ PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In)
|
||||
|
||||
|
||||
technique11 DefaultTechnique
|
||||
{
|
||||
{
|
||||
pass Model
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
|
||||
@@ -337,4 +337,164 @@
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
</Container>
|
||||
<Container Name="">
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_Door_L</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HM_3Broom_ext_Decals_A</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
</Container>
|
||||
<Container Name="HW_GreatHall">
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_FloorMain</PrototypeTag>
|
||||
<Position x="46.552219" y="0" z="38.898628"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_FloorEnd</PrototypeTag>
|
||||
<Position x="46.580196" y="-9.5367432e-07" z="66.865234"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_Sconce_Gryffindor</PrototypeTag>
|
||||
<Position x="46.54007" y="0.49999908" z="68.490913"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_WallIntWindowB</PrototypeTag>
|
||||
<Position x="8.5603905" y="0" z="9.6546278"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_WallIntWindowB</PrototypeTag>
|
||||
<Position x="4.9284835" y="-9.5367432e-07" z="9.5142498"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_WallIntWindowC</PrototypeTag>
|
||||
<Position x="12.268991" y="0" z="9.9082165"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_WallPaneling</PrototypeTag>
|
||||
<Position x="10.824334" y="0" z="5.5098476"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_WallInt_FlatCeilingB</PrototypeTag>
|
||||
<Position x="4.8808293" y="5.9000006" z="1.8310394"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_Sconce_Gryffindor</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_Sconce_HufflePuff</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_Sconce_Slytherin</PrototypeTag>
|
||||
<Position x="0" y="0" z="0"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_ShadowCaster</PrototypeTag>
|
||||
<Position x="46.50058" y="7.8999949" z="23.989874"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_Table</PrototypeTag>
|
||||
<Position x="47.032993" y="0" z="50.447128"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="89.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_Table</PrototypeTag>
|
||||
<Position x="39.611012" y="4.7683716e-07" z="50.22493"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="89.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_Table</PrototypeTag>
|
||||
<Position x="55.278839" y="0" z="49.968864"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="89.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_TableRunnerGryff</PrototypeTag>
|
||||
<Position x="46.985992" y="9.6857548e-07" z="50.450001"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="89.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_TableRunnerHufflePuff</PrototypeTag>
|
||||
<Position x="39.449162" y="0" z="50.225445"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="89.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_TableRunnerRaven</PrototypeTag>
|
||||
<Position x="55.339188" y="0" z="49.954151"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="89.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_WallColumnAB</PrototypeTag>
|
||||
<Position x="58.90229" y="0" z="33.904556"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="0" y="89.999985" z="0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_WallColumnAC</PrototypeTag>
|
||||
<Position x="59.996658" y="0" z="32.924282"/>
|
||||
<Scale x="0.99999988" y="1" z="0.99999988"/>
|
||||
<Rotation x="-0" y="-89.999985" z="-0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_WallColumnC</PrototypeTag>
|
||||
<Position x="29.750357" y="-4.7683716e-07" z="65.084366"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="-0" y="-70.000008" z="-0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_WallDoor</PrototypeTag>
|
||||
<Position x="52.069908" y="-4.7683716e-07" z="29.919998"/>
|
||||
<Scale x="0.99999952" y="1" z="0.99999952"/>
|
||||
<Rotation x="-0" y="-179.99998" z="-0"/>
|
||||
</PartObject>
|
||||
<PartObject Lod_Level="0">
|
||||
<PrototypeTag>Prototype_GameObject_SM_HW_GH_WallDoorB</PrototypeTag>
|
||||
<Position x="44.34584" y="0" z="52.525215"/>
|
||||
<Scale x="1" y="1" z="1"/>
|
||||
<Rotation x="0" y="0" z="0"/>
|
||||
</PartObject>
|
||||
</Container>
|
||||
</Land>
|
||||
|
||||
|
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 1.9 MiB |
|
After Width: | Height: | Size: 8.1 MiB |
|
After Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 7.8 MiB |
|
After Width: | Height: | Size: 3.6 MiB |
|
After Width: | Height: | Size: 7.2 MiB |
|
After Width: | Height: | Size: 2.0 MiB |
|
After Width: | Height: | Size: 2.3 MiB |
|
After Width: | Height: | Size: 3.8 MiB |
|
After Width: | Height: | Size: 6.9 MiB |
|
After Width: | Height: | Size: 11 MiB |
|
After Width: | Height: | Size: 16 MiB |
|
After Width: | Height: | Size: 7.5 MiB |
|
After Width: | Height: | Size: 4.1 MiB |
|
After Width: | Height: | Size: 8.4 MiB |
|
After Width: | Height: | Size: 6.4 MiB |
|
After Width: | Height: | Size: 8.8 MiB |
|
After Width: | Height: | Size: 4.5 MiB |
|
After Width: | Height: | Size: 8.0 MiB |
|
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 5.4 MiB |
|
After Width: | Height: | Size: 3.2 MiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 5.3 MiB |
|
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 4.3 MiB |
|
Before Width: | Height: | Size: 133 B After Width: | Height: | Size: 16 MiB |
|
Before Width: | Height: | Size: 128 B After Width: | Height: | Size: 200 B |
@@ -32,6 +32,13 @@ sampler BorderZeroSampler = sampler_state
|
||||
BorderColor = float4(0, 0, 0, 0);
|
||||
};
|
||||
|
||||
sampler PointSampler = sampler_state
|
||||
{
|
||||
Filter = MIN_MAG_MIP_POINT;
|
||||
AddressU = wrap;
|
||||
AddressV = wrap;
|
||||
};
|
||||
|
||||
RasterizerState RS_Default
|
||||
{
|
||||
FillMode = Solid;
|
||||
@@ -106,9 +113,9 @@ BlendState BS_AlphaBlend // ALPHA_BLEND
|
||||
BlendEnable[7] = true;
|
||||
|
||||
// Ac * Aa + Bc * (1 - Aa);
|
||||
SrcBlend = Src_Alpha;
|
||||
DestBlend = Inv_Src_Alpha;
|
||||
BlendOp = Add;
|
||||
SrcBlend = Src_Alpha;
|
||||
DestBlend = Inv_Src_Alpha;
|
||||
BlendOp = Add;
|
||||
};
|
||||
|
||||
BlendState BS_Blend // ADDITIVE_BLEND
|
||||
@@ -183,3 +190,21 @@ float2 Get_MovedUV(float2 vOriginalUV, float fDeltaU, float fDeltaV, uint iIndex
|
||||
float2 vOffset = float2(iIndexU * fDeltaU, iIndexV * fDeltaV);
|
||||
return vOriginalUV * vDelta + vOffset;
|
||||
}
|
||||
|
||||
float2 UV_Cutting(float2 vUV, float2 vUVCutting, int iCurrentFrame)
|
||||
{
|
||||
float2 UV = vUV; // 이미지의 UV값
|
||||
|
||||
int iTotalFrame = vUVCutting.x * vUVCutting.y; // 이미지의 최대 프레임 (몇 곱하기 몇인지)
|
||||
|
||||
int iFrameX = iCurrentFrame % (int) vUVCutting.x; // 현재 x축의 위치(현재 이미지의 몇번째 칸을 보여줄 지)
|
||||
int iFrameY = iCurrentFrame / (int) vUVCutting.x; // 현재 y축의 위치(현재 이미지의 몇번째 줄을 보여줄 지)
|
||||
|
||||
float fFreamWidth = 1.0 / vUVCutting.x; // 1.0 나누기 이미지 갯수를 해서 한칸에 얼마나 갈지 정해준다.
|
||||
float fFreamHeight = 1.0 / vUVCutting.y; // 1.0 나누기 이미지 갯수를 해서 한줄에 얼마나 갈지 정해준다.
|
||||
|
||||
UV.x = UV.x * fFreamWidth + iFrameX * fFreamWidth; // 먼저 uv를 0~1이 아닌 0~fFrameWidth로 만든 다음에 한칸씩 옆으로 밀어준다.
|
||||
UV.y = UV.y * fFreamHeight + iFrameY * fFreamHeight; // 먼저 uv를 0~1이 아닌 0~fFrameHeight로 만든 다음에 한줄씩 밑으로 내려준다.
|
||||
|
||||
return UV;
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ VS_OUT VS_MAIN(VS_IN In)
|
||||
|
||||
struct PS_IN
|
||||
{
|
||||
float4 vPosition : SV_POSITION;
|
||||
float4 vPosition : SV_POSITION;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
};
|
||||
|
||||
@@ -69,16 +69,16 @@ PS_OUT_BACKBUFFER PS_OUT_LASTCOLOR(PS_IN In)
|
||||
Out.vBackBuffer.rgb = vColorTexture.rgb;
|
||||
break;
|
||||
case 2:
|
||||
Out.vBackBuffer.rgb *= vColorTexture.rgb;
|
||||
Out.vBackBuffer.rgb += vColorTexture.rgb;
|
||||
break;
|
||||
case 3:
|
||||
Out.vBackBuffer.rgb -= vColorTexture.rgb;
|
||||
break;
|
||||
case 4:
|
||||
Out.vBackBuffer.rgb /= vColorTexture.rgb;
|
||||
Out.vBackBuffer.rgb *= vColorTexture.rgb;
|
||||
break;
|
||||
case 5:
|
||||
Out.vBackBuffer.rgb += vColorTexture.rgb;
|
||||
Out.vBackBuffer.rgb /= vColorTexture.rgb;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -11,8 +11,8 @@ struct Particle
|
||||
|
||||
struct ParticleValue
|
||||
{
|
||||
float fSpeed;
|
||||
float fRotaionSpeed;
|
||||
float fSpeed;
|
||||
float fRotaionSpeed;
|
||||
|
||||
float4 vOriginRight;
|
||||
float4 vOriginUp;
|
||||
@@ -21,40 +21,56 @@ struct ParticleValue
|
||||
|
||||
float2 vMaskingUVMoveTime;
|
||||
float2 vDiffuseUVMoveTime;
|
||||
float2 vNoiseUVMoveTime;
|
||||
float2 vAniTime;
|
||||
|
||||
float2 vAniIndex;
|
||||
};
|
||||
|
||||
struct ParticleOut
|
||||
{
|
||||
float4 vRight;
|
||||
float4 vUp;
|
||||
float4 vLook;
|
||||
float4 vTranslation;
|
||||
float2 vLifeTime;
|
||||
|
||||
float2 vMaskingUVMoveTime;
|
||||
float2 vDiffuseUVMoveTime;
|
||||
float2 vAniTime;
|
||||
|
||||
float2 vAniIndex;
|
||||
|
||||
};
|
||||
|
||||
|
||||
StructuredBuffer<Particle> g_ParticleBufferInput : register(t0);
|
||||
StructuredBuffer<ParticleValue> g_ParticleValueBufferInput : register(t1);
|
||||
|
||||
RWStructuredBuffer<ParticleOut> g_ParticleBufferOutput : register(u0);
|
||||
RWStructuredBuffer<Particle> g_VBInstanceOutput : register(u0);
|
||||
RWStructuredBuffer<ParticleValue> g_ParticleValueOutput : register(u1);
|
||||
|
||||
cbuffer g_ConstantBuffer : register(b0) // b0 << 이 숫자와 컨스턴트 쉐이더 바인딩할때 인덱스가 동일해야함
|
||||
{
|
||||
float fTimeDelta;
|
||||
row_major matrix CamViewInvMatrix;
|
||||
|
||||
float fPadding; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다.
|
||||
float fPadding2;
|
||||
float fPadding3;
|
||||
bool isLoop; // 상수 버퍼에서 불값은 4바이트로 처리되기 때문에 반드시 클라에서는 int형으로 선언해라
|
||||
bool isBillboard;
|
||||
bool isPadding2;
|
||||
bool isPadding3;
|
||||
|
||||
float fTimeDelta;
|
||||
float fPadding; // 반드시 상수버퍼는 16바이트 배수로 만들어져야 한다.
|
||||
float fPadding2;
|
||||
float fPadding3;
|
||||
}
|
||||
|
||||
void Billboard(Particle particle)
|
||||
{
|
||||
if (isBillboard == true)
|
||||
{
|
||||
float3 vScale;
|
||||
|
||||
vScale.x = length(particle.vRight);
|
||||
vScale.y = length(particle.vUp);
|
||||
vScale.z = length(particle.vLook);
|
||||
|
||||
|
||||
particle.vRight = CamViewInvMatrix[0] * vScale.x;
|
||||
particle.vUp = CamViewInvMatrix[1] * vScale.y;
|
||||
particle.vLook = CamViewInvMatrix[2] * vScale.z;
|
||||
|
||||
//180도 회전 시키기
|
||||
particle.vRight.x *= -1.f;
|
||||
particle.vLook.z *= -1.f;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
//내가 몇개의 스레드를 사용할 것인지 지정하는데
|
||||
@@ -69,8 +85,6 @@ void CS_MAIN(
|
||||
|
||||
ParticleValue particleValue = g_ParticleValueBufferInput[iIndex];
|
||||
|
||||
ParticleOut ParticleOut;
|
||||
|
||||
// 라이프타임 움직임
|
||||
particle.vTranslation.y -= particleValue.fSpeed * fTimeDelta;
|
||||
|
||||
@@ -78,10 +92,18 @@ void CS_MAIN(
|
||||
|
||||
if (particle.vLifeTime.x >= particle.vLifeTime.y)
|
||||
{
|
||||
if (isLoop == false)
|
||||
{
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
particle.vLifeTime.x = 0.f;
|
||||
particle.vTranslation.y = 0.f;
|
||||
}
|
||||
|
||||
Billboard(particle);
|
||||
|
||||
|
||||
//애니메이션 속도 , 인덱스
|
||||
|
||||
@@ -91,7 +113,7 @@ void CS_MAIN(
|
||||
{
|
||||
particleValue.vAniTime.x = 0.f;
|
||||
|
||||
particleValue.vAniIndex.x++;
|
||||
particleValue.vAniIndex.x += 1.f;
|
||||
|
||||
if (particleValue.vAniIndex.x > particleValue.vAniIndex.y) // 애니메이션에 끝에 다다랐다면
|
||||
{
|
||||
@@ -105,7 +127,7 @@ void CS_MAIN(
|
||||
|
||||
particleValue.vMaskingUVMoveTime.x += fTimeDelta;
|
||||
|
||||
if (particleValue.vMaskingUVMoveTime.x >= particleValue.vMaskingUVMoveTime.x)
|
||||
if (particleValue.vMaskingUVMoveTime.x >= particleValue.vMaskingUVMoveTime.y)
|
||||
{
|
||||
particleValue.vMaskingUVMoveTime.x = 0.f;
|
||||
}
|
||||
@@ -115,25 +137,23 @@ void CS_MAIN(
|
||||
|
||||
particleValue.vDiffuseUVMoveTime.x += fTimeDelta;
|
||||
|
||||
if (particleValue.vDiffuseUVMoveTime.x >= particleValue.vDiffuseUVMoveTime.x)
|
||||
if (particleValue.vDiffuseUVMoveTime.x >= particleValue.vDiffuseUVMoveTime.y)
|
||||
{
|
||||
particleValue.vDiffuseUVMoveTime.x = 0.f;
|
||||
}
|
||||
|
||||
//노이즈 움직임
|
||||
particleValue.vNoiseUVMoveTime.x += fTimeDelta;
|
||||
|
||||
if (particleValue.vNoiseUVMoveTime.x >= particleValue.vNoiseUVMoveTime.y)
|
||||
{
|
||||
particleValue.vNoiseUVMoveTime.x = 0.f;
|
||||
}
|
||||
|
||||
|
||||
//아웃풋 대입
|
||||
|
||||
ParticleOut.vRight = particle.vRight;
|
||||
ParticleOut.vUp = particle.vUp;
|
||||
ParticleOut.vLook = particle.vLook;
|
||||
ParticleOut.vTranslation = particle.vTranslation;
|
||||
ParticleOut.vLifeTime = particle.vLifeTime;
|
||||
|
||||
ParticleOut.vMaskingUVMoveTime = particleValue.vMaskingUVMoveTime;
|
||||
ParticleOut.vDiffuseUVMoveTime = particleValue.vDiffuseUVMoveTime;
|
||||
ParticleOut.vAniTime = particleValue.vAniTime;
|
||||
ParticleOut.vAniIndex = particleValue.vAniIndex;
|
||||
|
||||
|
||||
g_ParticleBufferOutput[iIndex] = ParticleOut;
|
||||
g_VBInstanceOutput[iIndex] = particle;
|
||||
g_ParticleValueOutput[iIndex] = particleValue;
|
||||
|
||||
}
|
||||
|
||||
@@ -95,6 +95,7 @@ PS_OUT PS_Clamp(PS_IN In)
|
||||
float4 Color = g_Texture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
Out.vColor = Color;
|
||||
|
||||
|
||||
return Out;
|
||||
}
|
||||
@@ -141,6 +142,18 @@ PS_OUT PS_Cursor(PS_IN In)
|
||||
|
||||
Color = White;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_Key_Hold_Rotation(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
float4 Color = g_Texture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
if (Color.a <= 0.1f)
|
||||
discard;
|
||||
|
||||
Out.vColor = Color;
|
||||
|
||||
return Out;
|
||||
@@ -181,20 +194,6 @@ PS_OUT PS_Sptire_Sheet(PS_IN In)
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_Key_Hold_Rotation(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
float4 Color = g_Texture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
if (Color.a <= 0.1f)
|
||||
discard;
|
||||
|
||||
Out.vColor = Color;
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
PS_OUT PS_QuestType(PS_IN In)
|
||||
{
|
||||
PS_OUT Out;
|
||||
|
||||
@@ -176,7 +176,7 @@ PS_OUT PS_MAIN(PS_IN In)
|
||||
|
||||
Out.vDiffuse = vMtrlDiffuse;
|
||||
Out.vNormal = float4(vNormal * 0.5f + 0.5f, 0.f);
|
||||
Out.vDepth = float4(In.vProjPos.z / In.vProjPos.w, In.vProjPos.w / g_fFar, 0.0f, 1.f);
|
||||
Out.vDepth = float4(In.vProjPos.z / In.vProjPos.w, In.vProjPos.w / 500.f, 0.0f, 1.f);
|
||||
|
||||
return Out;
|
||||
}
|
||||
@@ -336,7 +336,7 @@ technique11 MeshTechnique11
|
||||
{
|
||||
pass MeshPass // 0
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
SetRasterizerState(RS_Nocull);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
@@ -442,7 +442,7 @@ technique11 MeshTechnique11
|
||||
|
||||
pass MapToolPass // 11
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
SetRasterizerState(RS_Nocull);
|
||||
SetDepthStencilState(DSS_Default, 0);
|
||||
SetBlendState(BS_None, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
|
||||
VertexShader = compile vs_5_0 VS_MAIN();
|
||||
|
||||
@@ -1,51 +1,67 @@
|
||||
#include "Engine_Shader_Defines.hlsli"
|
||||
|
||||
|
||||
struct ParticleValue
|
||||
{
|
||||
float fSpeed;
|
||||
float fRotaionSpeed;
|
||||
|
||||
float4 vOriginRight;
|
||||
float4 vOriginUp;
|
||||
float4 vOriginLook;
|
||||
float4 vOriginTranslation;
|
||||
|
||||
float2 vMaskingUVMoveTime;
|
||||
float2 vDiffuseUVMoveTime;
|
||||
float2 vNoiseUVMoveTime;
|
||||
float2 vAniTime;
|
||||
|
||||
float2 vAniIndex;
|
||||
};
|
||||
|
||||
|
||||
matrix g_WorldMatrix, g_ViewMatrix, g_ProjMatrix;
|
||||
|
||||
Texture2D g_DiffuseTexture;
|
||||
Texture2D g_NormalTexture;
|
||||
Texture2D g_MaskingTexture;
|
||||
Texture2D g_DissolveTexture;
|
||||
Texture2D g_NoiseTexture;
|
||||
Texture2D g_DiffuseTexture : register(t0);
|
||||
|
||||
Texture2D g_NormalTexture : register(t1);
|
||||
Texture2D g_MaskingTexture : register(t2);
|
||||
Texture2D g_DissolveTexture : register(t3);
|
||||
Texture2D g_NoiseTexture : register(t4);
|
||||
|
||||
StructuredBuffer<ParticleValue> g_ParticleValue : register(t5);
|
||||
|
||||
float4 g_vCamPosition;
|
||||
|
||||
vector g_vColor;
|
||||
|
||||
float2 g_vUVGainAmount;
|
||||
float2 g_vUVCutting;
|
||||
float2 g_vDiffuseUVGainAmount;
|
||||
float2 g_vMaskingUVGainAmount;
|
||||
|
||||
float g_fBlurIntensity; //釉붾윭 ?멸린
|
||||
float2 g_vDiffuseNoiseUVGainAmount;
|
||||
float2 g_vMaskNoiseUVGainAmount;
|
||||
|
||||
float2 g_vUVCutting;
|
||||
float2 g_vUVMaskCutting;
|
||||
|
||||
|
||||
float g_fBlurIntensity; //블러 세기
|
||||
float g_fNoiseDistortionIntensity; // 노이즈 왜곡 세기
|
||||
|
||||
float4 g_vEmissive;
|
||||
float g_fColorOption;
|
||||
float g_fEmissiveCutAlpha;
|
||||
float g_fColorOption;
|
||||
float g_fEmissiveCutAlpha;
|
||||
|
||||
bool g_isDiffuse;
|
||||
bool g_isMasking;
|
||||
bool g_isDissolve;
|
||||
bool g_isNoise;
|
||||
bool g_isUVMove;
|
||||
|
||||
bool g_isDiffuseUVMove;
|
||||
bool g_isMaskUVMove;
|
||||
|
||||
float g_fFar;
|
||||
|
||||
struct ParticleValue
|
||||
{
|
||||
float4 vRight;
|
||||
float4 vUp;
|
||||
float4 vLook;
|
||||
float4 vTranslation;
|
||||
float2 vLifeTime;
|
||||
|
||||
float2 vMaskingUVMoveTime;
|
||||
float2 vDiffuseUVMoveTime;
|
||||
float2 vAniTime;
|
||||
|
||||
float2 vAniIndex;
|
||||
|
||||
};
|
||||
|
||||
StructuredBuffer<ParticleValue> g_ParticleValue : register(t0);
|
||||
|
||||
struct VS_IN
|
||||
{
|
||||
@@ -68,40 +84,38 @@ struct VS_OUT
|
||||
float4 vNormal : NORMAL;
|
||||
float3 vTangent : TANGENT;
|
||||
float3 vBinormal : BINORMAL;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
float2 vLifeTime : TEXCOORD1;
|
||||
float4 vWorldPos : TEXCOORD2;
|
||||
float4 vProjPos : TEXCOORD3;
|
||||
uint iGPUIndex : TEXCOORD4;
|
||||
uint iGPUIndex : TEXCOORD4;
|
||||
};
|
||||
|
||||
VS_OUT VS_MAIN(VS_IN In, uint iGPUIndex : SV_VertexID)
|
||||
VS_OUT VS_MAIN(VS_IN In, uint iGPUIndex : SV_InstanceID)
|
||||
{
|
||||
VS_OUT Out = (VS_OUT) 0;
|
||||
|
||||
matrix matWV, matWVP;
|
||||
row_major matrix matW, matWV, matWVP;
|
||||
|
||||
matWV = mul(g_WorldMatrix, g_ViewMatrix);
|
||||
row_major matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation);
|
||||
|
||||
float4 vProjPos = vector(In.vPosition, 1.f);
|
||||
matW = mul(g_WorldMatrix, TransformMatrix);
|
||||
matWV = mul(matW, g_ViewMatrix);
|
||||
matWVP = mul(matWV, g_ProjMatrix);
|
||||
|
||||
Out.vPosition = mul(vProjPos, matWVP);
|
||||
Out.vProjPos = vProjPos;
|
||||
|
||||
|
||||
vector vPosition = mul(vector(In.vPosition, 1.f), matWVP);
|
||||
|
||||
matWVP = mul(matWV, g_ProjMatrix);
|
||||
|
||||
matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation);
|
||||
|
||||
vector vPosition = mul(vector(In.vPosition, 1.f), TransformMatrix);
|
||||
|
||||
Out.vPosition = mul(vPosition, matWVP);
|
||||
Out.vNormal = normalize(mul(vector(In.vNormal, 0.f), TransformMatrix));
|
||||
Out.vTangent = normalize(mul(vector(In.vTangent, 0.f), TransformMatrix)).xyz;
|
||||
Out.vBinormal = normalize(mul(vector(In.vBinormal, 0.f), TransformMatrix)).xyz;
|
||||
Out.vTexcoord = In.vTexcoord;
|
||||
Out.vPosition = vPosition;
|
||||
Out.vNormal = normalize(mul(vector(In.vNormal, 0.f), matW));
|
||||
Out.vTangent = normalize(mul(vector(In.vTangent, 0.f), matW)).xyz;
|
||||
Out.vBinormal = normalize(mul(vector(In.vBinormal, 0.f), matW)).xyz;
|
||||
Out.vTexcoord = In.vTexcoord;
|
||||
Out.vLifeTime = In.vLifeTime;
|
||||
Out.vWorldPos = mul(vector(In.vPosition, 1.f), g_WorldMatrix);
|
||||
Out.vWorldPos = mul(vector(In.vPosition, 1.f), matW);
|
||||
Out.iGPUIndex = iGPUIndex;
|
||||
Out.vProjPos = vPosition;
|
||||
|
||||
return Out;
|
||||
}
|
||||
@@ -121,7 +135,7 @@ struct PS_IN
|
||||
|
||||
struct PS_OUT
|
||||
{
|
||||
float4 vDiffuse: SV_TARGET0;
|
||||
float4 vDiffuse : SV_TARGET0;
|
||||
float4 vColorTarget : SV_TARGET1;
|
||||
};
|
||||
|
||||
@@ -131,7 +145,7 @@ PS_OUT PS_MAIN(PS_IN In)
|
||||
PS_OUT Out;
|
||||
vector vMtrlDiffuse;
|
||||
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
vector vMtrlNormal = g_NormalTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
@@ -160,28 +174,48 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In)
|
||||
vector vMtrlDiffuse;
|
||||
vector vMtrlMask;
|
||||
vector vMtrlNoise;
|
||||
vector vMtrlDisolve;
|
||||
vector vMtrlDissolve;
|
||||
|
||||
float fAnimIndex = g_ParticleValue[In.iGPUIndex].vAniIndex.x;
|
||||
float2 vDiffuseTime = g_ParticleValue[In.iGPUIndex].vDiffuseUVMoveTime;
|
||||
float2 vMaskingTime = g_ParticleValue[In.iGPUIndex].vMaskingUVMoveTime;
|
||||
|
||||
|
||||
float2 vTexcoord = In.vTexcoord;
|
||||
|
||||
float2 vUVPerCell = In.vTexcoord / g_vUVCutting; //?닿쾶 ??????ш린
|
||||
|
||||
vTexcoord.x = vTexcoord.x * vUVPerCell.x + (fAnimIndex.x % g_vUVCutting.x) * vUVPerCell.x;
|
||||
vTexcoord.y = vTexcoord.y * vUVPerCell.y + (fAnimIndex.x / g_vUVCutting.y) * vUVPerCell.y;
|
||||
|
||||
if (g_isUVMove)
|
||||
{
|
||||
vTexcoord += (g_vUVGainAmount / g_vUVCutting) * (vDiffuseTime.x / vDiffuseTime.y);
|
||||
}
|
||||
float2 vNoiseUVMoveTime = g_ParticleValue[In.iGPUIndex].vNoiseUVMoveTime;
|
||||
|
||||
if (g_isDiffuse == true)
|
||||
{
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, vTexcoord);
|
||||
float2 UV; // 이미지의 UV값
|
||||
|
||||
UV = UV_Cutting(In.vTexcoord, g_vUVCutting, int(fAnimIndex.x));
|
||||
|
||||
if (g_isDiffuseUVMove)
|
||||
{
|
||||
UV += (g_vDiffuseUVGainAmount / g_vUVCutting) * (vDiffuseTime.x / vDiffuseTime.y);
|
||||
}
|
||||
|
||||
/* 노이즈 */
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
float2 vNoiseUV = In.vTexcoord + (g_vDiffuseNoiseUVGainAmount) * (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y);
|
||||
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV);
|
||||
|
||||
//0.5f를 빼는 이유는 중심을 0으로 옮겨서 양음수 방향으로 offset을 줄수 있다.
|
||||
vMtrlNoise.rg -= 0.5f;
|
||||
|
||||
//아마 분할되었다면 noise도 분할해야할듯
|
||||
vMtrlNoise.rg /= g_vUVCutting;
|
||||
|
||||
//노이즈 텍스쳐로 uv를 왜곡함
|
||||
|
||||
UV = UV + (vMtrlNoise).rg * g_fNoiseDistortionIntensity;
|
||||
}
|
||||
|
||||
|
||||
/* 최종 색깔 */
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, UV);
|
||||
|
||||
if (g_vColor.a > 0)
|
||||
vMtrlDiffuse += g_vColor;
|
||||
|
||||
if (vMtrlDiffuse.a < 0.3f)
|
||||
discard;
|
||||
@@ -194,35 +228,51 @@ PS_OUT PS_NON_NORMALMAP(PS_IN In)
|
||||
|
||||
if (g_isMasking == true)
|
||||
{
|
||||
vMtrlMask = g_MaskingTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
float2 vMaskTexcoord = In.vTexcoord;
|
||||
|
||||
vMaskTexcoord = UV_Cutting(In.vTexcoord, g_vUVMaskCutting, int(fAnimIndex.x));
|
||||
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
float2 UV; // 이미지의 UV값
|
||||
|
||||
float2 vNoiseUV = In.vTexcoord + (g_vMaskNoiseUVGainAmount) * (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y);
|
||||
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV);
|
||||
|
||||
//노이즈 텍스쳐로 uv를 왜곡함
|
||||
vMaskTexcoord = vMaskTexcoord + (vMtrlNoise - 0.5f).rg * g_fNoiseDistortionIntensity;
|
||||
}
|
||||
|
||||
if (g_isMaskUVMove)
|
||||
{
|
||||
if (vMaskingTime.y > 0)
|
||||
vMaskTexcoord += g_vMaskingUVGainAmount * (vMaskingTime.x / vMaskingTime.y);
|
||||
}
|
||||
|
||||
vMtrlMask = g_MaskingTexture.Sample(PointSampler, vMaskTexcoord);
|
||||
}
|
||||
else
|
||||
{
|
||||
vMtrlMask.r = 1.f;
|
||||
}
|
||||
|
||||
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlMask.r);
|
||||
|
||||
if (g_isDissolve == true)
|
||||
{
|
||||
vMtrlDisolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
}
|
||||
else
|
||||
{
|
||||
vMtrlDisolve.r = 0.f;
|
||||
}
|
||||
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
}
|
||||
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlMask.r - vMtrlDisolve.r * (In.vLifeTime.x / In.vLifeTime.y));
|
||||
vMtrlDissolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
if (vMtrlDissolve.r < (In.vLifeTime.x / In.vLifeTime.y))
|
||||
discard;
|
||||
}
|
||||
|
||||
Out.vDiffuse = vMtrlDiffuse;
|
||||
Out.vDiffuse = vMtrlDiffuse;
|
||||
|
||||
// ?됯퉼 異붽???泥섎━ (?대??쒕툕)
|
||||
if (vMtrlDiffuse.a >= g_fEmissiveCutAlpha )
|
||||
// 색깔 추가할 처리 (이미시브)
|
||||
if (vMtrlDiffuse.a >= g_fEmissiveCutAlpha)
|
||||
Out.vColorTarget = vector(g_vEmissive.rgb, g_fColorOption / 10.f);
|
||||
else
|
||||
Out.vColorTarget = vector(0.f, 0.f, 0.f, 0.f);
|
||||
@@ -236,32 +286,29 @@ struct VS_BLUR_OUT
|
||||
float4 vPosition : SV_POSITION;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
float2 vLifeTime : TEXCOORD1;
|
||||
uint iGPUIndex : TEXCOORD2;
|
||||
};
|
||||
|
||||
VS_BLUR_OUT VS_BLUR(VS_IN In)
|
||||
VS_BLUR_OUT VS_BLUR(VS_IN In, uint iGPUIndex : SV_InstanceID)
|
||||
{
|
||||
VS_BLUR_OUT Out = (VS_BLUR_OUT) 0;
|
||||
|
||||
matrix matWV, matWVP;
|
||||
row_major matrix matW, matWV, matWVP;
|
||||
|
||||
matWV = mul(g_WorldMatrix, g_ViewMatrix);
|
||||
row_major matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation);
|
||||
|
||||
float4 vProjPos = vector(In.vPosition, 1.f);
|
||||
|
||||
Out.vPosition = mul(vProjPos, matWVP);
|
||||
|
||||
matW = mul(g_WorldMatrix, TransformMatrix);
|
||||
matWV = mul(matW, g_ViewMatrix);
|
||||
matWVP = mul(matWV, g_ProjMatrix);
|
||||
|
||||
matrix TransformMatrix = float4x4(In.vRight, In.vUp, In.vLook, In.vTranslation);
|
||||
vector vPosition = mul(vector(In.vPosition, 1.f), matWVP);
|
||||
|
||||
vector vPosition = mul(vector(In.vPosition, 1.f), TransformMatrix);
|
||||
|
||||
Out.vPosition = mul(vPosition, matWVP);
|
||||
Out.vPosition = vPosition;
|
||||
Out.vTexcoord = In.vTexcoord;
|
||||
Out.vLifeTime = In.vLifeTime;
|
||||
Out.iGPUIndex = iGPUIndex;
|
||||
|
||||
|
||||
|
||||
return Out;
|
||||
}
|
||||
|
||||
@@ -270,6 +317,7 @@ struct PS_BLUR_IN
|
||||
float4 vPosition : SV_POSITION;
|
||||
float2 vTexcoord : TEXCOORD0;
|
||||
float2 vLifeTime : TEXCOORD1;
|
||||
uint iGPUIndex : TEXCOORD2;
|
||||
|
||||
};
|
||||
|
||||
@@ -287,18 +335,59 @@ PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In)
|
||||
vector vMtrlDiffuse;
|
||||
vector vMtrlMask;
|
||||
vector vMtrlNoise;
|
||||
vector vMtrlDisolve;
|
||||
vector vMtrlDissolve;
|
||||
|
||||
float2 vTexcoord = In.vTexcoord / g_vUVCutting;
|
||||
|
||||
if (g_isUVMove)
|
||||
{
|
||||
vTexcoord += g_vUVGainAmount / g_vUVCutting * (In.vLifeTime.x / In.vLifeTime.y);
|
||||
}
|
||||
float fAnimIndex = g_ParticleValue[In.iGPUIndex].vAniIndex.x;
|
||||
float2 vDiffuseTime = g_ParticleValue[In.iGPUIndex].vDiffuseUVMoveTime;
|
||||
float2 vMaskingTime = g_ParticleValue[In.iGPUIndex].vMaskingUVMoveTime;
|
||||
float2 vNoiseUVMoveTime = g_ParticleValue[In.iGPUIndex].vNoiseUVMoveTime;
|
||||
|
||||
if (g_isDiffuse == true)
|
||||
{
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, vTexcoord);
|
||||
float2 UV = In.vTexcoord; // 이미지의 UV값
|
||||
|
||||
int iTotalFrame = g_vUVCutting.x * g_vUVCutting.y; // 이미지의 최대 프레임 (몇 곱하기 몇인지)
|
||||
|
||||
int iCurrentFrame = int(fAnimIndex.x); // 현재 프레임이 어디 위치인지
|
||||
|
||||
int iFrameX = iCurrentFrame % (int) g_vUVCutting.x; // 현재 x축의 위치(현재 이미지의 몇번째 칸을 보여줄 지)
|
||||
int iFrameY = iCurrentFrame / (int) g_vUVCutting.x; // 현재 y축의 위치(현재 이미지의 몇번째 줄을 보여줄 지)
|
||||
|
||||
float fFreamWidth = 1.0 / g_vUVCutting.x; // 1.0 나누기 이미지 갯수를 해서 한칸에 얼마나 갈지 정해준다.
|
||||
float fFreamHeight = 1.0 / g_vUVCutting.y; // 1.0 나누기 이미지 갯수를 해서 한줄에 얼마나 갈지 정해준다.
|
||||
|
||||
UV.x = UV.x * fFreamWidth + iFrameX * fFreamWidth; // 먼저 uv를 0~1이 아닌 0~fFrameWidth로 만든 다음에 한칸씩 옆으로 밀어준다.
|
||||
UV.y = UV.y * fFreamHeight + iFrameY * fFreamHeight; // 먼저 uv를 0~1이 아닌 0~fFrameHeight로 만든 다음에 한줄씩 밑으로 내려준다.
|
||||
|
||||
|
||||
if (g_isDiffuseUVMove)
|
||||
{
|
||||
UV += (g_vDiffuseUVGainAmount / g_vUVCutting) * (vDiffuseTime.x / vDiffuseTime.y);
|
||||
}
|
||||
|
||||
/* 노이즈 */
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
float2 vNoiseUV = In.vTexcoord + (g_vDiffuseNoiseUVGainAmount) * (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y);
|
||||
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV);
|
||||
|
||||
//0.5f를 빼는 이유는 중심을 0으로 옮겨서 양음수 방향으로 offset을 줄수 있다.
|
||||
vMtrlNoise.rg -= 0.5f;
|
||||
|
||||
//아마 분할되었다면 noise도 분할해야할듯
|
||||
vMtrlNoise.rg /= g_vUVCutting;
|
||||
|
||||
//노이즈 텍스쳐로 uv를 왜곡함
|
||||
|
||||
UV = UV + (vMtrlNoise).rg * g_fNoiseDistortionIntensity;
|
||||
}
|
||||
|
||||
|
||||
/* 최종 색깔 */
|
||||
vMtrlDiffuse = g_DiffuseTexture.Sample(DefaultSampler, UV);
|
||||
|
||||
vMtrlDiffuse += g_vColor;
|
||||
|
||||
if (vMtrlDiffuse.a < 0.3f)
|
||||
discard;
|
||||
@@ -311,30 +400,44 @@ PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In)
|
||||
|
||||
if (g_isMasking == true)
|
||||
{
|
||||
vMtrlMask = g_MaskingTexture.Sample(DefaultSampler, vTexcoord);
|
||||
float2 vMaskTexcoord = In.vTexcoord;
|
||||
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
|
||||
float2 vNoiseUV = In.vTexcoord + (g_vMaskNoiseUVGainAmount) * (vNoiseUVMoveTime.x / vNoiseUVMoveTime.y);
|
||||
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vNoiseUV);
|
||||
|
||||
//노이즈 텍스쳐로 uv를 왜곡함
|
||||
vMaskTexcoord = vMaskTexcoord + (vMtrlNoise - 0.5f).rg * g_fNoiseDistortionIntensity;
|
||||
}
|
||||
|
||||
if (g_isMaskUVMove)
|
||||
{
|
||||
if (vMaskingTime.y > 0)
|
||||
vMaskTexcoord += g_vMaskingUVGainAmount * (vMaskingTime.x / vMaskingTime.y);
|
||||
}
|
||||
|
||||
vMtrlMask = g_MaskingTexture.Sample(PointSampler, vMaskTexcoord);
|
||||
}
|
||||
else
|
||||
{
|
||||
vMtrlMask.r = 1.f;
|
||||
}
|
||||
|
||||
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlMask.r);
|
||||
|
||||
if (g_isDissolve == true)
|
||||
{
|
||||
vMtrlDisolve = g_DissolveTexture.Sample(DefaultSampler, vTexcoord);
|
||||
}
|
||||
else
|
||||
{
|
||||
vMtrlDisolve.r = 0.f;
|
||||
}
|
||||
|
||||
if (g_isNoise == true)
|
||||
{
|
||||
vMtrlNoise = g_NoiseTexture.Sample(DefaultSampler, vTexcoord);
|
||||
}
|
||||
|
||||
|
||||
vMtrlDiffuse.a = saturate(vMtrlDiffuse.a * vMtrlMask.r - vMtrlDisolve.r * (In.vLifeTime.x / In.vLifeTime.y));
|
||||
vMtrlDissolve = g_DissolveTexture.Sample(DefaultSampler, In.vTexcoord);
|
||||
|
||||
if (vMtrlDissolve.r < (In.vLifeTime.x / In.vLifeTime.y))
|
||||
discard;
|
||||
}
|
||||
|
||||
Out.vDiffuse = vMtrlDiffuse * g_fBlurIntensity;
|
||||
|
||||
return Out;
|
||||
@@ -342,7 +445,7 @@ PS_BLUR_OUT PS_BLUR(PS_BLUR_IN In)
|
||||
|
||||
|
||||
technique11 DefaultTechnique
|
||||
{
|
||||
{
|
||||
pass Model
|
||||
{
|
||||
SetRasterizerState(RS_Default);
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
Diffuse=VFX_T_Smoke_8x8_D
|
||||
Normal=VFX_T_SmokeDense_8x8_N
|
||||
Other[0]=VFX_T_Smoke_8x8_01_N
|
||||
Other[1]=VFX_T_SmokeDense_8x8_D
|
||||
Other[2]=T_GlobalHeightEverything_FogHeight_N
|
||||
Other[3]=T_GlobalHeightEverything_SoftFoliage_01_01_N
|
||||
Other[4]=T_GlobalHeightEverything_SoftFoliage_01_05_N
|
||||
Other[5]=T_GlobalHeightEverything_SoftFoliage_01_06_N
|
||||
Other[6]=T_GlobalHeightEverything_SoftFoliage_02_01_N
|
||||
Other[7]=T_GlobalHeightEverything_SoftFoliage_02_04_N
|
||||
Other[8]=T_GlobalHeightEverything_SoftFoliage_02_05_N
|
||||
Other[9]=T_GlobalHeightEverything_SoftFoliage_02_06_N
|
||||
Other[10]=T_GlobalHeightEverything_SoftFoliage_03_01_N
|
||||
Other[11]=T_GlobalHeightEverything_SoftFoliage_03_03_N
|
||||
Other[12]=T_GlobalHeightEverything_SoftFoliage_03_04_N
|
||||
Other[13]=T_GlobalHeightEverything_SoftFoliage_03_05_N
|
||||
Other[14]=T_GlobalHeightEverything_SoftFoliage_03_06_N
|
||||
Other[15]=T_GlobalHeightEverything_SoftFoliage_03_08_N
|
||||
Other[16]=T_GlobalHeightEverything_SoftFoliage_04_01_N
|
||||
Other[17]=T_GlobalHeightEverything_SoftFoliage_04_03_N
|
||||
Other[18]=T_GlobalHeightEverything_SoftFoliage_04_04_N
|
||||
Other[19]=T_GlobalHeightEverything_SoftFoliage_04_05_N
|
||||
Other[20]=T_GlobalHeightEverything_SoftFoliage_04_07_N
|
||||
Other[21]=T_GlobalHeightEverything_SoftFoliage_04_08_N
|
||||
Other[22]=T_GlobalHeightEverything_SoftFoliage_05_01_N
|
||||
Other[23]=T_GlobalHeightEverything_SoftFoliage_05_02_N
|
||||
Other[24]=T_GlobalHeightEverything_SoftFoliage_05_03_N
|
||||
Other[25]=T_GlobalHeightEverything_SoftFoliage_05_04_N
|
||||
Other[26]=T_GlobalHeightEverything_SoftFoliage_05_05_N
|
||||
Other[27]=T_GlobalHeightEverything_SoftFoliage_05_06_N
|
||||
Other[28]=T_GlobalHeightEverything_SoftFoliage_05_07_N
|
||||
Other[29]=T_GlobalHeightEverything_SoftFoliage_06_01_N
|
||||
Other[30]=T_GlobalHeightEverything_SoftFoliage_06_02_N
|
||||
Other[31]=T_GlobalHeightEverything_SoftFoliage_06_03_N
|
||||
Other[32]=T_GlobalHeightEverything_SoftFoliage_06_04_N
|
||||
Other[33]=T_GlobalHeightEverything_SoftFoliage_06_05_N
|
||||
Other[34]=T_GlobalHeightEverything_SoftFoliage_06_06_N
|
||||
Other[35]=T_GlobalHeightEverything_SoftFoliage_06_07_N
|
||||
Other[36]=T_GlobalHeightEverything_SoftFoliage_07_02_N
|
||||
Other[37]=T_GlobalHeightEverything_SoftFoliage_07_03_N
|
||||
Other[38]=T_GlobalHeightEverything_SoftFoliage_07_04_N
|
||||
Other[39]=T_GlobalHeightEverything_SoftFoliage_07_05_N
|
||||
Other[40]=T_GlobalHeightEverything_SoftFoliage_07_06_N
|
||||
Other[41]=T_GlobalHeightEverything_SoftFoliage_07_07_N
|
||||
Other[42]=T_GlobalHeightEverything_SoftFoliage_07_08_N
|
||||
Other[43]=T_GlobalHeightEverything_SoftFoliage_08_05_N
|
||||
Other[44]=T_GlobalHeightEverything_SoftFoliage_08_06_N
|
||||
Other[45]=T_GlobalHeightEverything_SoftFoliage_08_07_N
|
||||
Other[46]=T_GlobalHeightEverything_VT_Single_Combined_N
|
||||
Other[47]=T_GlobalHeightEverything_VT_Single_Particles_12_MIPs_N
|
||||
Other[48]=T_GlobalHeightEverything_VT_Single_Particles_12_MIPsNormal_N
|
||||
Other[49]=T_FX_Grad_Test_G
|
||||
Other[50]=VFX_T_Inky_Smoke_D
|
||||
Other[51]=VFX_T_Wisps_D
|
||||
Other[52]=VFX_T_Wisps_N
|
||||
@@ -0,0 +1,126 @@
|
||||
Parent = Material3'/Game/VFX/MasterMaterials/Particles/VFX_MM_lit.VFX_MM_lit'
|
||||
ScalarParameterValues[6] =
|
||||
{
|
||||
ScalarParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=Alpha Erosion Multiplier }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[1] =
|
||||
{
|
||||
ParameterInfo = { Name=Alpha Erosion Softness }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[2] =
|
||||
{
|
||||
ParameterInfo = { Name=FadeDistance }
|
||||
ParameterValue = 50
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[3] =
|
||||
{
|
||||
ParameterInfo = { Name=Near Camera Fade Distance }
|
||||
ParameterValue = 64
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[4] =
|
||||
{
|
||||
ParameterInfo = { Name=Normal Strength }
|
||||
ParameterValue = 2.05714
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[5] =
|
||||
{
|
||||
ParameterInfo = { Name=RefractionDepthBias }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
TextureParameterValues[4] =
|
||||
{
|
||||
TextureParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=Normal SubUV }
|
||||
ParameterValue = Texture2D'/Game/VFX/Textures/Flipbooks/VFX_T_SmokeDense_8x8_N.VFX_T_SmokeDense_8x8_N'
|
||||
ParameterName = None
|
||||
}
|
||||
TextureParameterValues[1] =
|
||||
{
|
||||
ParameterInfo = { Name=Normal Texture }
|
||||
ParameterValue = Texture2D'/Game/VFX/Textures/Flipbooks/VFX_T_Smoke_8x8_01_N.VFX_T_Smoke_8x8_01_N'
|
||||
ParameterName = None
|
||||
}
|
||||
TextureParameterValues[2] =
|
||||
{
|
||||
ParameterInfo = { Name=Texture }
|
||||
ParameterValue = Texture2D'/Game/VFX/Textures/Flipbooks/VFX_T_Smoke_8x8_D.VFX_T_Smoke_8x8_D'
|
||||
ParameterName = None
|
||||
}
|
||||
TextureParameterValues[3] =
|
||||
{
|
||||
ParameterInfo = { Name=Texture SubUV }
|
||||
ParameterValue = Texture2D'/Game/VFX/Textures/Flipbooks/VFX_T_SmokeDense_8x8_D.VFX_T_SmokeDense_8x8_D'
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
VectorParameterValues[0] = {}
|
||||
BasePropertyOverrides =
|
||||
{
|
||||
bOverride_BlendMode = false
|
||||
BlendMode = BLEND_Translucent (2)
|
||||
bOverride_TwoSided = false
|
||||
TwoSided = false
|
||||
bOverride_OpacityMaskClipValue = false
|
||||
OpacityMaskClipValue = 0.3333
|
||||
}
|
||||
StaticParameters =
|
||||
{
|
||||
StaticSwitchParameters[5] =
|
||||
{
|
||||
StaticSwitchParameters[0] =
|
||||
{
|
||||
Value = true
|
||||
ParameterInfo = { Name=Use Alpha }
|
||||
bOverride = true
|
||||
}
|
||||
StaticSwitchParameters[1] =
|
||||
{
|
||||
Value = false
|
||||
ParameterInfo = { Name=Use Color as Alpha }
|
||||
bOverride = true
|
||||
}
|
||||
StaticSwitchParameters[2] =
|
||||
{
|
||||
Value = true
|
||||
ParameterInfo = { Name=Use Alpha Erosion }
|
||||
bOverride = true
|
||||
}
|
||||
StaticSwitchParameters[3] =
|
||||
{
|
||||
Value = true
|
||||
ParameterInfo = { Name=Use Normal Map }
|
||||
bOverride = true
|
||||
}
|
||||
StaticSwitchParameters[4] =
|
||||
{
|
||||
Value = true
|
||||
ParameterInfo = { Name=Use SubUV Texture }
|
||||
bOverride = true
|
||||
}
|
||||
}
|
||||
StaticComponentMaskParameters[0] = {}
|
||||
TerrainLayerWeightParameters[0] = {}
|
||||
MaterialLayersParameters[0] = {}
|
||||
}
|
||||
RuntimeVirtualTextureParameterValues[0] = {}
|
||||
FontParameterValues[0] = {}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[0] = {}
|
||||
@@ -0,0 +1,9 @@
|
||||
Diffuse=3BroomStx_Door_01_D
|
||||
Normal=T_PaintingTextures_Fabric_N
|
||||
Other[0]=T_PaintingTextures_Fabric_MSK
|
||||
Other[1]=CASC_Cross
|
||||
Other[2]=CASC_None
|
||||
Other[3]=HeatmapGradient
|
||||
Other[4]=T_PaintingTextures_MSK
|
||||
Other[5]=T_PaintingTextures_N
|
||||
Other[6]=T_PortraitVignette_A
|
||||
@@ -0,0 +1,126 @@
|
||||
Parent = Material3'/Game/VFX/Blueprints/AmbientPainitngs/Materials/VFX_M_AmbientPainting.VFX_M_AmbientPainting'
|
||||
ScalarParameterValues[10] =
|
||||
{
|
||||
ScalarParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=Fuzz }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[1] =
|
||||
{
|
||||
ParameterInfo = { Name=FuzzCoreDarkness }
|
||||
ParameterValue = 0.6
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[2] =
|
||||
{
|
||||
ParameterInfo = { Name=FuzzEdgeBrightness }
|
||||
ParameterValue = 2
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[3] =
|
||||
{
|
||||
ParameterInfo = { Name=FuzzPower }
|
||||
ParameterValue = 6
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[4] =
|
||||
{
|
||||
ParameterInfo = { Name=BrushTiling }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[5] =
|
||||
{
|
||||
ParameterInfo = { Name=Distortion }
|
||||
ParameterValue = 0.01
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[6] =
|
||||
{
|
||||
ParameterInfo = { Name=Divider }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[7] =
|
||||
{
|
||||
ParameterInfo = { Name=Poster }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[8] =
|
||||
{
|
||||
ParameterInfo = { Name=RoughnessMultiplier }
|
||||
ParameterValue = 4.5
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[9] =
|
||||
{
|
||||
ParameterInfo = { Name=RefractionDepthBias }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
TextureParameterValues[2] =
|
||||
{
|
||||
TextureParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=BrushMap }
|
||||
ParameterValue = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_Fabric_MSK.T_PaintingTextures_Fabric_MSK'
|
||||
ParameterName = None
|
||||
}
|
||||
TextureParameterValues[1] =
|
||||
{
|
||||
ParameterInfo = { Name=BrushNormal }
|
||||
ParameterValue = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_Fabric_N.T_PaintingTextures_Fabric_N'
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
VectorParameterValues[0] = {}
|
||||
BasePropertyOverrides =
|
||||
{
|
||||
bOverride_BlendMode = false
|
||||
BlendMode = BLEND_Opaque (0)
|
||||
bOverride_TwoSided = false
|
||||
TwoSided = false
|
||||
bOverride_OpacityMaskClipValue = false
|
||||
OpacityMaskClipValue = 0.3333
|
||||
}
|
||||
StaticParameters =
|
||||
{
|
||||
StaticSwitchParameters[0] = {}
|
||||
StaticComponentMaskParameters[0] = {}
|
||||
TerrainLayerWeightParameters[0] = {}
|
||||
MaterialLayersParameters[0] = {}
|
||||
}
|
||||
RuntimeVirtualTextureParameterValues[0] = {}
|
||||
FontParameterValues[0] = {}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[3] =
|
||||
{
|
||||
TextureStreamingData[0] =
|
||||
{
|
||||
SamplingScale = 0.23761
|
||||
UVChannelIndex = 0
|
||||
TextureName = 3BroomStx_Door_01_D
|
||||
}
|
||||
TextureStreamingData[1] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_PaintingTextures_Fabric_MSK
|
||||
}
|
||||
TextureStreamingData[2] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_PaintingTextures_Fabric_N
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
Diffuse=3BroomStx_Door_01_D
|
||||
Normal=T_PaintingTextures_N
|
||||
Other[0]=CASC_Cross
|
||||
Other[1]=CASC_None
|
||||
Other[2]=HeatmapGradient
|
||||
Other[3]=T_PaintingTextures_MSK
|
||||
Other[4]=T_PortraitVignette_A
|
||||
@@ -0,0 +1,78 @@
|
||||
Parent = Material3'/Game/VFX/Blueprints/AmbientPainitngs/Materials/VFX_M_AmbientPainting.VFX_M_AmbientPainting'
|
||||
ScalarParameterValues[3] =
|
||||
{
|
||||
ScalarParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=BrushTiling }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[1] =
|
||||
{
|
||||
ParameterInfo = { Name=Distortion }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[2] =
|
||||
{
|
||||
ParameterInfo = { Name=RefractionDepthBias }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
TextureParameterValues[1] =
|
||||
{
|
||||
TextureParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=RenderTarget }
|
||||
ParameterValue = None
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
VectorParameterValues[0] = {}
|
||||
BasePropertyOverrides =
|
||||
{
|
||||
bOverride_BlendMode = false
|
||||
BlendMode = BLEND_Opaque (0)
|
||||
bOverride_TwoSided = false
|
||||
TwoSided = false
|
||||
bOverride_OpacityMaskClipValue = false
|
||||
OpacityMaskClipValue = 0.3333
|
||||
}
|
||||
StaticParameters =
|
||||
{
|
||||
StaticSwitchParameters[0] = {}
|
||||
StaticComponentMaskParameters[0] = {}
|
||||
TerrainLayerWeightParameters[0] = {}
|
||||
MaterialLayersParameters[0] = {}
|
||||
}
|
||||
RuntimeVirtualTextureParameterValues[0] = {}
|
||||
FontParameterValues[0] = {}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[3] =
|
||||
{
|
||||
TextureStreamingData[0] =
|
||||
{
|
||||
SamplingScale = 0.25
|
||||
UVChannelIndex = 0
|
||||
TextureName = 3BroomStx_Door_01_D
|
||||
}
|
||||
TextureStreamingData[1] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_PaintingTextures_MSK
|
||||
}
|
||||
TextureStreamingData[2] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_PaintingTextures_N
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
Diffuse=3BroomStx_Door_01_D
|
||||
Normal=T_PaintingTextures_N
|
||||
Opacity=T_PortraitVignette_A
|
||||
Other[0]=CASC_Cross
|
||||
Other[1]=CASC_None
|
||||
Other[2]=HeatmapGradient
|
||||
Other[3]=T_PaintingTextures_MSK
|
||||
@@ -0,0 +1,175 @@
|
||||
TwoSided = false
|
||||
bDisableDepthTest = false
|
||||
bIsMasked = false
|
||||
ReferencedTextures[7] =
|
||||
{
|
||||
ReferencedTextures[0] = Texture2D'/Engine/EditorMaterials/Cascade/CASC_Cross.CASC_Cross'
|
||||
ReferencedTextures[1] = Texture2D'/Engine/EditorMaterials/Cascade/CASC_None.CASC_None'
|
||||
ReferencedTextures[2] = Texture2D'/Engine/EngineDebugMaterials/HeatmapGradient.HeatmapGradient'
|
||||
ReferencedTextures[3] = Texture2D'/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Textures/3BroomStx_Door_01_D.3BroomStx_Door_01_D'
|
||||
ReferencedTextures[4] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_MSK.T_PaintingTextures_MSK'
|
||||
ReferencedTextures[5] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_N.T_PaintingTextures_N'
|
||||
ReferencedTextures[6] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PortraitVignette_A.T_PortraitVignette_A'
|
||||
}
|
||||
Expressions[0] = {}
|
||||
CachedExpressionData =
|
||||
{
|
||||
Parameters =
|
||||
{
|
||||
Entries[5] =
|
||||
{
|
||||
Entries[0] =
|
||||
{
|
||||
ParameterInfos[9] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=Fuzz }
|
||||
ParameterInfos[1] = { Name=Distortion }
|
||||
ParameterInfos[2] = { Name=FuzzEdgeBrightness }
|
||||
ParameterInfos[3] = { Name=BrushTiling }
|
||||
ParameterInfos[4] = { Name=FuzzCoreDarkness }
|
||||
ParameterInfos[5] = { Name=Poster }
|
||||
ParameterInfos[6] = { Name=Divider }
|
||||
ParameterInfos[7] = { Name=RoughnessMultiplier }
|
||||
ParameterInfos[8] = { Name=FuzzPower }
|
||||
}
|
||||
}
|
||||
Entries[1] =
|
||||
{
|
||||
ParameterInfos[3] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=Color Addition }
|
||||
ParameterInfos[1] = { Name=VignetteColor }
|
||||
ParameterInfos[2] = { Name=FrameScaleOffset }
|
||||
}
|
||||
}
|
||||
Entries[2] =
|
||||
{
|
||||
ParameterInfos[5] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=BrushNormal }
|
||||
ParameterInfos[1] = { Name=RenderTarget }
|
||||
ParameterInfos[2] = { Name=VignetteTexture }
|
||||
ParameterInfos[3] = { Name=PosterTexture }
|
||||
ParameterInfos[4] = { Name=BrushMap }
|
||||
}
|
||||
}
|
||||
Entries[3] = { ParameterInfos[0]={} }
|
||||
Entries[4] = { ParameterInfos[0]={} }
|
||||
}
|
||||
ScalarValues[9] = { 0, 0.015, 0.8, 1, 0.8, 0, 25, 4.5, 6 }
|
||||
VectorValues[3] =
|
||||
{
|
||||
VectorValues[0] = { R=0.05, G=0.05, B=0.05, A=1 }
|
||||
VectorValues[1] = { R=0, G=0, B=0, A=0 }
|
||||
VectorValues[2] = { R=0.25, G=0.25, B=0.25, A=0.25 }
|
||||
}
|
||||
TextureValues[5] =
|
||||
{
|
||||
TextureValues[0] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_N.T_PaintingTextures_N'
|
||||
TextureValues[2] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PortraitVignette_A.T_PortraitVignette_A'
|
||||
TextureValues[3] = Texture2D'/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Textures/3BroomStx_Door_01_D.3BroomStx_Door_01_D'
|
||||
TextureValues[4] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_MSK.T_PaintingTextures_MSK'
|
||||
}
|
||||
}
|
||||
ReferencedTextures[8] =
|
||||
{
|
||||
ReferencedTextures[0] = Texture2D'/Engine/EditorMaterials/Cascade/CASC_None.CASC_None'
|
||||
ReferencedTextures[1] = Texture2D'/Engine/EditorMaterials/Cascade/CASC_Cross.CASC_Cross'
|
||||
ReferencedTextures[2] = Texture2D'/Engine/EngineDebugMaterials/HeatmapGradient.HeatmapGradient'
|
||||
ReferencedTextures[3] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_MSK.T_PaintingTextures_MSK'
|
||||
ReferencedTextures[4] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_N.T_PaintingTextures_N'
|
||||
ReferencedTextures[6] = Texture2D'/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Textures/3BroomStx_Door_01_D.3BroomStx_Door_01_D'
|
||||
ReferencedTextures[7] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PortraitVignette_A.T_PortraitVignette_A'
|
||||
}
|
||||
}
|
||||
BlendMode = BLEND_Opaque (0)
|
||||
OpacityMaskClipValue = 0.333
|
||||
CollectedTextureParameters[5] =
|
||||
{
|
||||
CollectedTextureParameters[0] =
|
||||
{
|
||||
Texture = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_N.T_PaintingTextures_N'
|
||||
Name = BrushNormal
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[1] = { Texture=None, Name=RenderTarget, Group=None }
|
||||
CollectedTextureParameters[2] =
|
||||
{
|
||||
Texture = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PortraitVignette_A.T_PortraitVignette_A'
|
||||
Name = VignetteTexture
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[3] =
|
||||
{
|
||||
Texture = Texture2D'/Game/Environment/Hogsmeade/BLDG_ThreeBroomsticks/Textures/3BroomStx_Door_01_D.3BroomStx_Door_01_D'
|
||||
Name = PosterTexture
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[4] =
|
||||
{
|
||||
Texture = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_MSK.T_PaintingTextures_MSK'
|
||||
Name = BrushMap
|
||||
Group = None
|
||||
}
|
||||
}
|
||||
CollectedScalarParameters[9] =
|
||||
{
|
||||
CollectedScalarParameters[0] = { Value=0, Name=Fuzz, Group=None }
|
||||
CollectedScalarParameters[1] = { Value=0.015, Name=Distortion, Group=None }
|
||||
CollectedScalarParameters[2] = { Value=0.8, Name=FuzzEdgeBrightness, Group=None }
|
||||
CollectedScalarParameters[3] = { Value=1, Name=BrushTiling, Group=None }
|
||||
CollectedScalarParameters[4] = { Value=0.8, Name=FuzzCoreDarkness, Group=None }
|
||||
CollectedScalarParameters[5] = { Value=0, Name=Poster, Group=None }
|
||||
CollectedScalarParameters[6] = { Value=25, Name=Divider, Group=None }
|
||||
CollectedScalarParameters[7] = { Value=4.5, Name=RoughnessMultiplier, Group=None }
|
||||
CollectedScalarParameters[8] = { Value=6, Name=FuzzPower, Group=None }
|
||||
}
|
||||
CollectedVectorParameters[3] =
|
||||
{
|
||||
CollectedVectorParameters[0] =
|
||||
{
|
||||
Value = { R=0.05, G=0.05, B=0.05, A=1 }
|
||||
Name = Color Addition
|
||||
Group = None
|
||||
}
|
||||
CollectedVectorParameters[1] =
|
||||
{
|
||||
Value = { R=0, G=0, B=0, A=0 }
|
||||
Name = VignetteColor
|
||||
Group = None
|
||||
}
|
||||
CollectedVectorParameters[2] =
|
||||
{
|
||||
Value = { R=0.25, G=0.25, B=0.25, A=0.25 }
|
||||
Name = FrameScaleOffset
|
||||
Group = None
|
||||
}
|
||||
}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[3] =
|
||||
{
|
||||
TextureStreamingData[0] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_PaintingTextures_MSK
|
||||
}
|
||||
TextureStreamingData[1] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_PaintingTextures_N
|
||||
}
|
||||
TextureStreamingData[2] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_PortraitVignette_A
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
Diffuse=VFX_T_FacePaintingABKGRND_D
|
||||
Normal=T_Canvas_N
|
||||
Other[0]=CASC_Cross
|
||||
Other[1]=CASC_None
|
||||
Other[2]=T_Canvas_R
|
||||
Other[3]=T_PaintingTextures_N
|
||||
Other[4]=T_PaintingTexturesB_MSK
|
||||
Other[5]=VFX_T_PluralSight_Circle_D
|
||||
@@ -0,0 +1,58 @@
|
||||
Parent = Material3'/Game/VFX/Blueprints/InteractivePaintings/Materials/VFX_M_PaintingPlane_Base.VFX_M_PaintingPlane_Base'
|
||||
ScalarParameterValues[1] =
|
||||
{
|
||||
ScalarParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=RefractionDepthBias }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
TextureParameterValues[0] = {}
|
||||
VectorParameterValues[0] = {}
|
||||
BasePropertyOverrides =
|
||||
{
|
||||
bOverride_BlendMode = false
|
||||
BlendMode = BLEND_Masked (1)
|
||||
bOverride_TwoSided = false
|
||||
TwoSided = false
|
||||
bOverride_OpacityMaskClipValue = false
|
||||
OpacityMaskClipValue = 0.3333
|
||||
}
|
||||
StaticParameters =
|
||||
{
|
||||
StaticSwitchParameters[0] = {}
|
||||
StaticComponentMaskParameters[0] = {}
|
||||
TerrainLayerWeightParameters[0] = {}
|
||||
MaterialLayersParameters[0] = {}
|
||||
}
|
||||
RuntimeVirtualTextureParameterValues[0] = {}
|
||||
FontParameterValues[0] = {}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[3] =
|
||||
{
|
||||
TextureStreamingData[0] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_Canvas_N
|
||||
}
|
||||
TextureStreamingData[1] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = VFX_T_FacePaintingABKGRND_D
|
||||
}
|
||||
TextureStreamingData[2] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = VFX_T_PluralSight_Circle_D
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
Diffuse=VFX_T_FacePaintingABKGRND_D
|
||||
Normal=T_Canvas_N
|
||||
Other[0]=CASC_Cross
|
||||
Other[1]=CASC_None
|
||||
Other[2]=T_Canvas_R
|
||||
Other[3]=T_PaintingTextures_N
|
||||
Other[4]=T_PaintingTexturesB_MSK
|
||||
Other[5]=VFX_T_PluralSight_Circle_D
|
||||
@@ -0,0 +1,146 @@
|
||||
TwoSided = false
|
||||
bDisableDepthTest = false
|
||||
bIsMasked = false
|
||||
ReferencedTextures[8] =
|
||||
{
|
||||
ReferencedTextures[0] = Texture2D'/Engine/EditorMaterials/Cascade/CASC_Cross.CASC_Cross'
|
||||
ReferencedTextures[1] = Texture2D'/Engine/EditorMaterials/Cascade/CASC_None.CASC_None'
|
||||
ReferencedTextures[2] = Texture2D'/Game/Environment/Hogwarts/Textures/T_Canvas_N.T_Canvas_N'
|
||||
ReferencedTextures[3] = Texture2D'/Game/Environment/Hogwarts/Textures/T_Canvas_R.T_Canvas_R'
|
||||
ReferencedTextures[4] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_N.T_PaintingTextures_N'
|
||||
ReferencedTextures[5] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTexturesB_MSK.T_PaintingTexturesB_MSK'
|
||||
ReferencedTextures[6] = Texture2D'/Game/VFX/SpineAssets/Assets/PaintingFaceA/Textures/VFX_T_FacePaintingABKGRND_D.VFX_T_FacePaintingABKGRND_D'
|
||||
ReferencedTextures[7] = Texture2D'/Game/VFX/Textures/TEST/VFX_T_PluralSight_Circle_D.VFX_T_PluralSight_Circle_D'
|
||||
}
|
||||
Expressions[0] = {}
|
||||
CachedExpressionData =
|
||||
{
|
||||
Parameters =
|
||||
{
|
||||
Entries[5] =
|
||||
{
|
||||
Entries[0] =
|
||||
{
|
||||
ParameterInfos[2] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=NormalTilingMultiplier }
|
||||
ParameterInfos[1] = { Name=NormalIntensity }
|
||||
}
|
||||
}
|
||||
Entries[1] = { ParameterInfos[0]={} }
|
||||
Entries[2] =
|
||||
{
|
||||
ParameterInfos[4] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=Background }
|
||||
ParameterInfos[1] = { Name=CanvasRoughness }
|
||||
ParameterInfos[2] = { Name=CanvasNormal }
|
||||
ParameterInfos[3] = { Name=FrameMask }
|
||||
}
|
||||
}
|
||||
Entries[3] = { ParameterInfos[0]={} }
|
||||
Entries[4] = { ParameterInfos[0]={} }
|
||||
}
|
||||
ScalarValues[2] = { 1, 1 }
|
||||
VectorValues[0] = {}
|
||||
TextureValues[4] =
|
||||
{
|
||||
TextureValues[0] = Texture2D'/Game/VFX/SpineAssets/Assets/PaintingFaceA/Textures/VFX_T_FacePaintingABKGRND_D.VFX_T_FacePaintingABKGRND_D'
|
||||
TextureValues[1] = Texture2D'/Game/Environment/Hogwarts/Textures/T_Canvas_R.T_Canvas_R'
|
||||
TextureValues[2] = Texture2D'/Game/Environment/Hogwarts/Textures/T_Canvas_N.T_Canvas_N'
|
||||
TextureValues[3] = Texture2D'/Game/VFX/Textures/TEST/VFX_T_PluralSight_Circle_D.VFX_T_PluralSight_Circle_D'
|
||||
}
|
||||
}
|
||||
ReferencedTextures[8] =
|
||||
{
|
||||
ReferencedTextures[0] = Texture2D'/Game/Environment/Hogwarts/Textures/T_Canvas_R.T_Canvas_R'
|
||||
ReferencedTextures[1] = Texture2D'/Game/VFX/Textures/TEST/VFX_T_PluralSight_Circle_D.VFX_T_PluralSight_Circle_D'
|
||||
ReferencedTextures[2] = Texture2D'/Game/VFX/SpineAssets/Assets/PaintingFaceA/Textures/VFX_T_FacePaintingABKGRND_D.VFX_T_FacePaintingABKGRND_D'
|
||||
ReferencedTextures[3] = Texture2D'/Game/Environment/Hogwarts/Textures/T_Canvas_N.T_Canvas_N'
|
||||
ReferencedTextures[4] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTextures_N.T_PaintingTextures_N'
|
||||
ReferencedTextures[5] = Texture2D'/Game/MaterialFunctions/BaseTextures/Painting/T_PaintingTexturesB_MSK.T_PaintingTexturesB_MSK'
|
||||
ReferencedTextures[6] = Texture2D'/Engine/EditorMaterials/Cascade/CASC_None.CASC_None'
|
||||
ReferencedTextures[7] = Texture2D'/Engine/EditorMaterials/Cascade/CASC_Cross.CASC_Cross'
|
||||
}
|
||||
}
|
||||
BlendMode = BLEND_Masked (1)
|
||||
OpacityMaskClipValue = 0.333
|
||||
CollectedTextureParameters[4] =
|
||||
{
|
||||
CollectedTextureParameters[0] =
|
||||
{
|
||||
Texture = Texture2D'/Game/VFX/SpineAssets/Assets/PaintingFaceA/Textures/VFX_T_FacePaintingABKGRND_D.VFX_T_FacePaintingABKGRND_D'
|
||||
Name = Background
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[1] =
|
||||
{
|
||||
Texture = Texture2D'/Game/Environment/Hogwarts/Textures/T_Canvas_R.T_Canvas_R'
|
||||
Name = CanvasRoughness
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[2] =
|
||||
{
|
||||
Texture = Texture2D'/Game/Environment/Hogwarts/Textures/T_Canvas_N.T_Canvas_N'
|
||||
Name = CanvasNormal
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[3] =
|
||||
{
|
||||
Texture = Texture2D'/Game/VFX/Textures/TEST/VFX_T_PluralSight_Circle_D.VFX_T_PluralSight_Circle_D'
|
||||
Name = FrameMask
|
||||
Group = None
|
||||
}
|
||||
}
|
||||
CollectedScalarParameters[2] =
|
||||
{
|
||||
CollectedScalarParameters[0] = { Value=1, Name=NormalTilingMultiplier, Group=None }
|
||||
CollectedScalarParameters[1] = { Value=1, Name=NormalIntensity, Group=None }
|
||||
}
|
||||
CollectedVectorParameters[0] = {}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[6] =
|
||||
{
|
||||
TextureStreamingData[0] =
|
||||
{
|
||||
SamplingScale = 4
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_Canvas_N
|
||||
}
|
||||
TextureStreamingData[1] =
|
||||
{
|
||||
SamplingScale = 4
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_Canvas_R
|
||||
}
|
||||
TextureStreamingData[2] =
|
||||
{
|
||||
SamplingScale = 4
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_PaintingTextures_N
|
||||
}
|
||||
TextureStreamingData[3] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_PaintingTexturesB_MSK
|
||||
}
|
||||
TextureStreamingData[4] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = VFX_T_FacePaintingABKGRND_D
|
||||
}
|
||||
TextureStreamingData[5] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = VFX_T_PluralSight_Circle_D
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
Materials[1] =
|
||||
{
|
||||
Materials[0] = MaterialInstanceConstant'/Game/VFX/Blueprints/InteractivePaintings/Materials/VFX_MI_PaintingPlane_Base.VFX_MI_PaintingPlane_Base'
|
||||
}
|
||||
SourceModels[0] = {}
|
||||
StaticMaterials[1] =
|
||||
{
|
||||
StaticMaterials[0] =
|
||||
{
|
||||
MaterialInterface = MaterialInstanceConstant'/Game/VFX/Blueprints/InteractivePaintings/Materials/VFX_MI_PaintingPlane_Base.VFX_MI_PaintingPlane_Base'
|
||||
MaterialSlotName = lambert1
|
||||
UVChannelData =
|
||||
{
|
||||
bInitialized = true
|
||||
bOverrideDensities = false
|
||||
LocalUVDensities[4] = { 100, 0, 0, 0 }
|
||||
}
|
||||
}
|
||||
}
|
||||
Sockets[0] = {}
|
||||
ExtendedBounds =
|
||||
{
|
||||
Origin = { X=0, Y=0, Z=0 }
|
||||
BoxExtent = { X=50, Y=50, Z=8.04061e-15 }
|
||||
SphereRadius = 70.7107
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
Diffuse=T_Gradient_Soft_D
|
||||
Normal=VFX_T_cloudsBillowy03_N
|
||||
Other[0]=DefaultTexture
|
||||
Other[1]=VFX_T_TiledNoise_01_D
|
||||
@@ -0,0 +1,175 @@
|
||||
TwoSided = true
|
||||
bDisableDepthTest = false
|
||||
bIsMasked = false
|
||||
ReferencedTextures[4] =
|
||||
{
|
||||
ReferencedTextures[0] = Texture2D'/Engine/EngineResources/DefaultTexture.DefaultTexture'
|
||||
ReferencedTextures[1] = Texture2D'/Game/VFX/Particles/Magic/AvadaKedavra/T_Gradient_Soft_D.T_Gradient_Soft_D'
|
||||
ReferencedTextures[2] = Texture2D'/Game/VFX/Textures/Noises/VFX_T_cloudsBillowy03_N.VFX_T_cloudsBillowy03_N'
|
||||
ReferencedTextures[3] = Texture2D'/Game/VFX/Textures/Noises/VFX_T_TiledNoise_01_D.VFX_T_TiledNoise_01_D'
|
||||
}
|
||||
Expressions[0] = {}
|
||||
CachedExpressionData =
|
||||
{
|
||||
Parameters =
|
||||
{
|
||||
Entries[5] =
|
||||
{
|
||||
Entries[0] =
|
||||
{
|
||||
ParameterInfos[16] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=OverallDisplacementStrength }
|
||||
ParameterInfos[1] = { Name=B_1 }
|
||||
ParameterInfos[2] = { Name=NoiseMaskContrast }
|
||||
ParameterInfos[3] = { Name=Blur Height map }
|
||||
ParameterInfos[4] = { Name=World Offset Strength }
|
||||
ParameterInfos[5] = { Name=World Offset Noise Speed }
|
||||
ParameterInfos[6] = { Name=Alpha }
|
||||
ParameterInfos[7] = { Name=Hardness }
|
||||
ParameterInfos[8] = { Name=Param }
|
||||
ParameterInfos[9] = { Name=Maskrotation }
|
||||
ParameterInfos[10] = { Name=NoisedistortContrast }
|
||||
ParameterInfos[11] = { Name=CameraWidth }
|
||||
ParameterInfos[12] = { Name=MaskPower }
|
||||
ParameterInfos[13] = { Name=DistortTiling }
|
||||
ParameterInfos[14] = { Name=World Offset Scale }
|
||||
ParameterInfos[15] = { Name=NoiseDistortSpeed }
|
||||
}
|
||||
}
|
||||
Entries[1] =
|
||||
{
|
||||
ParameterInfos[3] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=Direction }
|
||||
ParameterInfos[1] = { Name=Param }
|
||||
ParameterInfos[2] = { Name=CameraDirection }
|
||||
}
|
||||
}
|
||||
Entries[2] =
|
||||
{
|
||||
ParameterInfos[1] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=RenderTargetTexture }
|
||||
}
|
||||
}
|
||||
Entries[3] = { ParameterInfos[0]={} }
|
||||
Entries[4] = { ParameterInfos[0]={} }
|
||||
}
|
||||
ScalarValues[16] =
|
||||
{
|
||||
ScalarValues[0] = -1.8562
|
||||
ScalarValues[1] = 0.5
|
||||
ScalarValues[2] = 0.5
|
||||
ScalarValues[3] = 0.647619
|
||||
ScalarValues[4] = 14.1926
|
||||
ScalarValues[5] = 42.2273
|
||||
ScalarValues[6] = 0.971429
|
||||
ScalarValues[7] = 0
|
||||
ScalarValues[8] = -1
|
||||
ScalarValues[9] = 90
|
||||
ScalarValues[10] = 0.5
|
||||
ScalarValues[11] = 1300
|
||||
ScalarValues[12] = 0.1
|
||||
ScalarValues[13] = 1
|
||||
ScalarValues[14] = 0.0007
|
||||
ScalarValues[15] = 1
|
||||
}
|
||||
VectorValues[3] =
|
||||
{
|
||||
VectorValues[0] = { R=1.42595, G=0.5, B=3.12088, A=1 }
|
||||
VectorValues[1] = { R=0.124922, G=0.492277, B=0.796875, A=1 }
|
||||
VectorValues[2] = { R=0, G=0, B=-1, A=1 }
|
||||
}
|
||||
TextureValues[1] =
|
||||
{
|
||||
TextureValues[0] = Texture2D'/Engine/EngineResources/DefaultTexture.DefaultTexture'
|
||||
}
|
||||
}
|
||||
ReferencedTextures[5] =
|
||||
{
|
||||
ReferencedTextures[0] = Texture2D'/Engine/EngineResources/DefaultTexture.DefaultTexture'
|
||||
ReferencedTextures[2] = Texture2D'/Game/VFX/Textures/Noises/VFX_T_cloudsBillowy03_N.VFX_T_cloudsBillowy03_N'
|
||||
ReferencedTextures[3] = Texture2D'/Game/VFX/Textures/Noises/VFX_T_TiledNoise_01_D.VFX_T_TiledNoise_01_D'
|
||||
ReferencedTextures[4] = Texture2D'/Game/VFX/Particles/Magic/AvadaKedavra/T_Gradient_Soft_D.T_Gradient_Soft_D'
|
||||
}
|
||||
}
|
||||
BlendMode = BLEND_Translucent (2)
|
||||
OpacityMaskClipValue = 0.333
|
||||
CollectedTextureParameters[1] =
|
||||
{
|
||||
CollectedTextureParameters[0] =
|
||||
{
|
||||
Texture = Texture2D'/Engine/EngineResources/DefaultTexture.DefaultTexture'
|
||||
Name = RenderTargetTexture
|
||||
Group = None
|
||||
}
|
||||
}
|
||||
CollectedScalarParameters[16] =
|
||||
{
|
||||
CollectedScalarParameters[0] =
|
||||
{
|
||||
Value = -1.8562
|
||||
Name = OverallDisplacementStrength
|
||||
Group = None
|
||||
}
|
||||
CollectedScalarParameters[1] = { Value=0.5, Name=B_1, Group=None }
|
||||
CollectedScalarParameters[2] = { Value=0.5, Name=NoiseMaskContrast, Group=None }
|
||||
CollectedScalarParameters[3] = { Value=0.647619, Name=Blur Height map, Group=None }
|
||||
CollectedScalarParameters[4] =
|
||||
{
|
||||
Value = 14.1926
|
||||
Name = World Offset Strength
|
||||
Group = None
|
||||
}
|
||||
CollectedScalarParameters[5] =
|
||||
{
|
||||
Value = 42.2273
|
||||
Name = World Offset Noise Speed
|
||||
Group = None
|
||||
}
|
||||
CollectedScalarParameters[6] = { Value=0.971429, Name=Alpha, Group=None }
|
||||
CollectedScalarParameters[7] = { Value=0, Name=Hardness, Group=None }
|
||||
CollectedScalarParameters[8] = { Value=-1, Name=Param, Group=None }
|
||||
CollectedScalarParameters[9] = { Value=90, Name=Maskrotation, Group=None }
|
||||
CollectedScalarParameters[10] = { Value=0.5, Name=NoisedistortContrast, Group=None }
|
||||
CollectedScalarParameters[11] = { Value=1300, Name=CameraWidth, Group=None }
|
||||
CollectedScalarParameters[12] = { Value=0.1, Name=MaskPower, Group=None }
|
||||
CollectedScalarParameters[13] = { Value=1, Name=DistortTiling, Group=None }
|
||||
CollectedScalarParameters[14] =
|
||||
{
|
||||
Value = 0.0007
|
||||
Name = World Offset Scale
|
||||
Group = None
|
||||
}
|
||||
CollectedScalarParameters[15] = { Value=1, Name=NoiseDistortSpeed, Group=None }
|
||||
}
|
||||
CollectedVectorParameters[3] =
|
||||
{
|
||||
CollectedVectorParameters[0] =
|
||||
{
|
||||
Value = { R=1.42595, G=0.5, B=3.12088, A=1 }
|
||||
Name = Direction
|
||||
Group = None
|
||||
}
|
||||
CollectedVectorParameters[1] =
|
||||
{
|
||||
Value = { R=0.124922, G=0.492277, B=0.796875, A=1 }
|
||||
Name = Param
|
||||
Group = None
|
||||
}
|
||||
CollectedVectorParameters[2] =
|
||||
{
|
||||
Value = { R=0, G=0, B=-1, A=1 }
|
||||
Name = CameraDirection
|
||||
Group = None
|
||||
}
|
||||
}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[0] = {}
|
||||
@@ -0,0 +1,6 @@
|
||||
Diffuse=VFX_T_Inky_Smoke_D
|
||||
Normal=VFX_T_RibbonOffset_N
|
||||
Other[0]=VFX_T_Noise12_D
|
||||
Other[1]=VFX_T_Noise09_D
|
||||
Other[2]=VFX_T_Noise04_D
|
||||
Other[3]=VFX_T_Noise08_D
|
||||
@@ -0,0 +1,110 @@
|
||||
Parent = MaterialInstanceConstant'/Game/VFX/MasterMaterials/Particles/MaterialInstance/VFX_MI_Flame_Ribbon.VFX_MI_Flame_Ribbon'
|
||||
ScalarParameterValues[9] =
|
||||
{
|
||||
ScalarParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=Mod UV Strength }
|
||||
ParameterValue = 0.038095
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[1] =
|
||||
{
|
||||
ParameterInfo = { Name=Mod UV Speed U (S) }
|
||||
ParameterValue = -0.252381
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[2] =
|
||||
{
|
||||
ParameterInfo = { Name=Mod UV Speed V (S) }
|
||||
ParameterValue = 0.390476
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[3] =
|
||||
{
|
||||
ParameterInfo = { Name=Scale Strength V (S) }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[4] =
|
||||
{
|
||||
ParameterInfo = { Name=RibbonTiling U }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[5] =
|
||||
{
|
||||
ParameterInfo = { Name=RibbonTiling V }
|
||||
ParameterValue = 0.35
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[6] =
|
||||
{
|
||||
ParameterInfo = { Name=RibbonSpeed U }
|
||||
ParameterValue = -1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[7] =
|
||||
{
|
||||
ParameterInfo = { Name=RibbonSpeed V }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[8] =
|
||||
{
|
||||
ParameterInfo = { Name=RefractionDepthBias }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
TextureParameterValues[1] =
|
||||
{
|
||||
TextureParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=RibbonTexture 1 }
|
||||
ParameterValue = Texture2D'/Game/VFX/Textures/Noises/VFX_T_Noise12_D.VFX_T_Noise12_D'
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
VectorParameterValues[0] = {}
|
||||
BasePropertyOverrides =
|
||||
{
|
||||
bOverride_BlendMode = false
|
||||
BlendMode = BLEND_Translucent (2)
|
||||
bOverride_TwoSided = false
|
||||
TwoSided = false
|
||||
bOverride_OpacityMaskClipValue = false
|
||||
OpacityMaskClipValue = 0.3333
|
||||
}
|
||||
StaticParameters =
|
||||
{
|
||||
StaticSwitchParameters[1] =
|
||||
{
|
||||
StaticSwitchParameters[0] =
|
||||
{
|
||||
Value = true
|
||||
ParameterInfo = { Name=Use Mod UV's }
|
||||
bOverride = true
|
||||
}
|
||||
}
|
||||
StaticComponentMaskParameters[0] = {}
|
||||
TerrainLayerWeightParameters[0] = {}
|
||||
MaterialLayersParameters[0] = {}
|
||||
}
|
||||
RuntimeVirtualTextureParameterValues[0] = {}
|
||||
FontParameterValues[0] = {}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[1] =
|
||||
{
|
||||
TextureStreamingData[0] =
|
||||
{
|
||||
SamplingScale = 0.75
|
||||
UVChannelIndex = 1
|
||||
TextureName = VFX_T_RibbonOffset_N
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
Diffuse=VFX_T_Smoke_8x8_D
|
||||
Normal=T_GlobalHeightEverything_VT_Single_Particles_12_MIPsNormal_N
|
||||
Other[0]=VFX_T_Flare02_D
|
||||
Other[1]=T_GlobalHeightEverything_FogHeight_N
|
||||
Other[2]=T_GlobalHeightEverything_SoftFoliage_01_01_N
|
||||
Other[3]=T_GlobalHeightEverything_SoftFoliage_01_05_N
|
||||
Other[4]=T_GlobalHeightEverything_SoftFoliage_01_06_N
|
||||
Other[5]=T_GlobalHeightEverything_SoftFoliage_02_01_N
|
||||
Other[6]=T_GlobalHeightEverything_SoftFoliage_02_04_N
|
||||
Other[7]=T_GlobalHeightEverything_SoftFoliage_02_05_N
|
||||
Other[8]=T_GlobalHeightEverything_SoftFoliage_02_06_N
|
||||
Other[9]=T_GlobalHeightEverything_SoftFoliage_03_01_N
|
||||
Other[10]=T_GlobalHeightEverything_SoftFoliage_03_03_N
|
||||
Other[11]=T_GlobalHeightEverything_SoftFoliage_03_04_N
|
||||
Other[12]=T_GlobalHeightEverything_SoftFoliage_03_05_N
|
||||
Other[13]=T_GlobalHeightEverything_SoftFoliage_03_06_N
|
||||
Other[14]=T_GlobalHeightEverything_SoftFoliage_03_08_N
|
||||
Other[15]=T_GlobalHeightEverything_SoftFoliage_04_01_N
|
||||
Other[16]=T_GlobalHeightEverything_SoftFoliage_04_03_N
|
||||
Other[17]=T_GlobalHeightEverything_SoftFoliage_04_04_N
|
||||
Other[18]=T_GlobalHeightEverything_SoftFoliage_04_05_N
|
||||
Other[19]=T_GlobalHeightEverything_SoftFoliage_04_07_N
|
||||
Other[20]=T_GlobalHeightEverything_SoftFoliage_04_08_N
|
||||
Other[21]=T_GlobalHeightEverything_SoftFoliage_05_01_N
|
||||
Other[22]=T_GlobalHeightEverything_SoftFoliage_05_02_N
|
||||
Other[23]=T_GlobalHeightEverything_SoftFoliage_05_03_N
|
||||
Other[24]=T_GlobalHeightEverything_SoftFoliage_05_04_N
|
||||
Other[25]=T_GlobalHeightEverything_SoftFoliage_05_05_N
|
||||
Other[26]=T_GlobalHeightEverything_SoftFoliage_05_06_N
|
||||
Other[27]=T_GlobalHeightEverything_SoftFoliage_05_07_N
|
||||
Other[28]=T_GlobalHeightEverything_SoftFoliage_06_01_N
|
||||
Other[29]=T_GlobalHeightEverything_SoftFoliage_06_02_N
|
||||
Other[30]=T_GlobalHeightEverything_SoftFoliage_06_03_N
|
||||
Other[31]=T_GlobalHeightEverything_SoftFoliage_06_04_N
|
||||
Other[32]=T_GlobalHeightEverything_SoftFoliage_06_05_N
|
||||
Other[33]=T_GlobalHeightEverything_SoftFoliage_06_06_N
|
||||
Other[34]=T_GlobalHeightEverything_SoftFoliage_06_07_N
|
||||
Other[35]=T_GlobalHeightEverything_SoftFoliage_07_02_N
|
||||
Other[36]=T_GlobalHeightEverything_SoftFoliage_07_03_N
|
||||
Other[37]=T_GlobalHeightEverything_SoftFoliage_07_04_N
|
||||
Other[38]=T_GlobalHeightEverything_SoftFoliage_07_05_N
|
||||
Other[39]=T_GlobalHeightEverything_SoftFoliage_07_06_N
|
||||
Other[40]=T_GlobalHeightEverything_SoftFoliage_07_07_N
|
||||
Other[41]=T_GlobalHeightEverything_SoftFoliage_07_08_N
|
||||
Other[42]=T_GlobalHeightEverything_SoftFoliage_08_05_N
|
||||
Other[43]=T_GlobalHeightEverything_SoftFoliage_08_06_N
|
||||
Other[44]=T_GlobalHeightEverything_SoftFoliage_08_07_N
|
||||
Other[45]=T_GlobalHeightEverything_VT_Single_Combined_N
|
||||
Other[46]=T_GlobalHeightEverything_VT_Single_Particles_12_MIPs_N
|
||||
Other[47]=VFX_T_Smoke_8x8_01_N
|
||||
Other[48]=VFX_T_Wisps_D
|
||||
Other[49]=VFX_T_Wisps_N
|
||||
@@ -0,0 +1,54 @@
|
||||
Parent = Material3'/Game/VFX/MasterMaterials/Particles/VFX_MM_Main.VFX_MM_Main'
|
||||
ScalarParameterValues[1] =
|
||||
{
|
||||
ScalarParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=RefractionDepthBias }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
TextureParameterValues[1] =
|
||||
{
|
||||
TextureParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=Texture }
|
||||
ParameterValue = Texture2D'/Game/VFX/Textures/Flares/VFX_T_Flare02_D.VFX_T_Flare02_D'
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
VectorParameterValues[1] =
|
||||
{
|
||||
VectorParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=AlphaChannel }
|
||||
ParameterValue = { R=1, G=0, B=0, A=0 }
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
BasePropertyOverrides =
|
||||
{
|
||||
bOverride_BlendMode = false
|
||||
BlendMode = BLEND_Translucent (2)
|
||||
bOverride_TwoSided = false
|
||||
TwoSided = false
|
||||
bOverride_OpacityMaskClipValue = false
|
||||
OpacityMaskClipValue = 0.3333
|
||||
}
|
||||
StaticParameters =
|
||||
{
|
||||
StaticSwitchParameters[0] = {}
|
||||
StaticComponentMaskParameters[0] = {}
|
||||
TerrainLayerWeightParameters[0] = {}
|
||||
MaterialLayersParameters[0] = {}
|
||||
}
|
||||
RuntimeVirtualTextureParameterValues[0] = {}
|
||||
FontParameterValues[0] = {}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[0] = {}
|
||||
@@ -0,0 +1,15 @@
|
||||
Diffuse=base_black_d
|
||||
Normal=base_flat_n
|
||||
Opacity=VFX_T_RanrakDragon_UpperAlpha_E
|
||||
Emissive=VFX_T_RanrakDragon_Upper_E
|
||||
Other[0]=Good64x64TilingNoiseHighFreq
|
||||
Other[1]=base_white_d
|
||||
Other[2]=T_GlassNoise_D
|
||||
Other[3]=T_Base011_MRO
|
||||
Other[4]=T_Blank_A
|
||||
Other[5]=T_WaterCaustics_Disorder_A
|
||||
Other[6]=T_ColorNoise512_D
|
||||
Other[7]=T_Forageable_Horklump_Gradient_D
|
||||
Other[8]=VFX_T_VerticalBeam_D
|
||||
Other[9]=VFX_T_Noise05_D
|
||||
Other[10]=VFX_T_RibbonOffset_N
|
||||
@@ -0,0 +1,402 @@
|
||||
TwoSided = false
|
||||
bDisableDepthTest = false
|
||||
bIsMasked = false
|
||||
ReferencedTextures[15] =
|
||||
{
|
||||
ReferencedTextures[0] = Texture2D'/Engine/EngineMaterials/Good64x64TilingNoiseHighFreq.Good64x64TilingNoiseHighFreq'
|
||||
ReferencedTextures[1] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_black_d.base_black_d'
|
||||
ReferencedTextures[2] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_flat_n.base_flat_n'
|
||||
ReferencedTextures[3] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_white_d.base_white_d'
|
||||
ReferencedTextures[4] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/Noise/T_GlassNoise_D.T_GlassNoise_D'
|
||||
ReferencedTextures[5] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/T_Base011_MRO.T_Base011_MRO'
|
||||
ReferencedTextures[6] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/T_Blank_A.T_Blank_A'
|
||||
ReferencedTextures[7] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/WaterCaustics/T_WaterCaustics_Disorder_A.T_WaterCaustics_Disorder_A'
|
||||
ReferencedTextures[8] = Texture2D'/Game/MaterialFunctions/BaseTextures/ColorNoise/T_ColorNoise512_D.T_ColorNoise512_D'
|
||||
ReferencedTextures[9] = Texture2D'/Game/RiggedObjects/Characters/Creatures/Dragons/ConjuredDragon/Textures/VFX_T_RanrakDragon_Upper_E.VFX_T_RanrakDragon_Upper_E'
|
||||
ReferencedTextures[10] = Texture2D'/Game/RiggedObjects/Environments/Forageables/Horklump/Textures/T_Forageable_Horklump_Gradient_D.T_Forageable_Horklump_Gradient_D'
|
||||
ReferencedTextures[11] = Texture2D'/Game/VFX/Enemies/ConjuredDragon/VFX_T_RanrakDragon_UpperAlpha_E.VFX_T_RanrakDragon_UpperAlpha_E'
|
||||
ReferencedTextures[12] = Texture2D'/Game/VFX/Textures/Gradients/VFX_T_VerticalBeam_D.VFX_T_VerticalBeam_D'
|
||||
ReferencedTextures[13] = Texture2D'/Game/VFX/Textures/Noises/VFX_T_Noise05_D.VFX_T_Noise05_D'
|
||||
ReferencedTextures[14] = Texture2D'/Game/VFX/Textures/Noises/VFX_T_RibbonOffset_N.VFX_T_RibbonOffset_N'
|
||||
}
|
||||
Expressions[0] = {}
|
||||
CachedExpressionData =
|
||||
{
|
||||
Parameters =
|
||||
{
|
||||
Entries[5] =
|
||||
{
|
||||
Entries[0] =
|
||||
{
|
||||
ParameterInfos[42] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=Distortion Speed X }
|
||||
ParameterInfos[1] = { Name=Exp }
|
||||
ParameterInfos[2] = { Name=Fresnel Emissive Power }
|
||||
ParameterInfos[3] = { Name=Saturation }
|
||||
ParameterInfos[4] = { Name=WipeSpeedX }
|
||||
ParameterInfos[5] = { Name=Alpha_PhysicalState }
|
||||
ParameterInfos[6] = { Name=A }
|
||||
ParameterInfos[7] = { Name=WipeSpeedY }
|
||||
ParameterInfos[8] = { Name=FlattenHeight }
|
||||
ParameterInfos[9] = { Name=ObjectFadePerinstanceOverride }
|
||||
ParameterInfos[10] = { Name=Speed U B (S) }
|
||||
ParameterInfos[11] = { Name=Distortion Speed Y }
|
||||
ParameterInfos[12] = { Name=GlowWipeStrength }
|
||||
ParameterInfos[13] = { Name=Noise Size Scale (S) }
|
||||
ParameterInfos[14] = { Name=Fresnel Emissive Strength }
|
||||
ParameterInfos[15] = { Name=EmissiveStrength }
|
||||
ParameterInfos[16] = { Name=Metallic Adjuster }
|
||||
ParameterInfos[17] = { Name=Noise Speed Scale (S) }
|
||||
ParameterInfos[18] = { Name=Roughness Adjuster }
|
||||
ParameterInfos[19] = { Name=LimitB }
|
||||
ParameterInfos[20] = { Name=AO Adjuster }
|
||||
ParameterInfos[21] = { Name=LimitA }
|
||||
ParameterInfos[22] = { Name=Power (S) }
|
||||
ParameterInfos[23] = { Name=Speed V (S) }
|
||||
ParameterInfos[24] = { Name=Distortion Strength }
|
||||
ParameterInfos[25] = { Name=Color_Multiplier }
|
||||
ParameterInfos[26] = { Name=Diffuse Brightness }
|
||||
ParameterInfos[27] = { Name=ObjectFadeOpacity }
|
||||
ParameterInfos[28] = { Name=Flatten }
|
||||
ParameterInfos[29] = { Name=Tiling U B (S) }
|
||||
ParameterInfos[30] = { Name=Exp_1 }
|
||||
ParameterInfos[31] = { Name=Speed V B (S) }
|
||||
ParameterInfos[32] = { Name=Alpha_EtherealState }
|
||||
ParameterInfos[33] = { Name=Normal Height }
|
||||
ParameterInfos[34] = { Name=Speed U (S) }
|
||||
ParameterInfos[35] = { Name=Tiling U (S) }
|
||||
ParameterInfos[36] = { Name=Tiling V (S) }
|
||||
ParameterInfos[37] = { Name=Emissive Brightness }
|
||||
ParameterInfos[38] = { Name=UV scale }
|
||||
ParameterInfos[39] = { Name=Distortion Tiling }
|
||||
ParameterInfos[40] = { Name=Tiling V B (S) }
|
||||
ParameterInfos[41] = { Name=B }
|
||||
}
|
||||
}
|
||||
Entries[1] =
|
||||
{
|
||||
ParameterInfos[6] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=Emissive Fresnel Color }
|
||||
ParameterInfos[1] = { Name=ColorSize }
|
||||
ParameterInfos[2] = { Name=Axis }
|
||||
ParameterInfos[3] = { Name=EmColor }
|
||||
ParameterInfos[4] = { Name=PivotPoint }
|
||||
ParameterInfos[5] = { Name=Color }
|
||||
}
|
||||
}
|
||||
Entries[2] =
|
||||
{
|
||||
ParameterInfos[10] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=ScrollingWipeTexture }
|
||||
ParameterInfos[1] = { Name=Alpha Mask }
|
||||
ParameterInfos[2] = { Name=ScrollingMapA }
|
||||
ParameterInfos[3] = { Name=Normal Map }
|
||||
ParameterInfos[4] = { Name=ScrollingMapB }
|
||||
ParameterInfos[5] = { Name=Diffuse Map }
|
||||
ParameterInfos[6] = { Name=MRO Map }
|
||||
ParameterInfos[7] = { Name=Distortion Pattern }
|
||||
ParameterInfos[8] = { Name=EmissiveMap }
|
||||
ParameterInfos[9] = { Name=Emissive Map }
|
||||
}
|
||||
}
|
||||
Entries[3] = { ParameterInfos[0]={} }
|
||||
Entries[4] = { ParameterInfos[0]={} }
|
||||
}
|
||||
ScalarValues[42] =
|
||||
{
|
||||
ScalarValues[0] = 0.05
|
||||
ScalarValues[1] = 1.21639
|
||||
ScalarValues[2] = 1
|
||||
ScalarValues[3] = 1
|
||||
ScalarValues[4] = 0.1
|
||||
ScalarValues[5] = 1
|
||||
ScalarValues[6] = 0.66
|
||||
ScalarValues[7] = 0
|
||||
ScalarValues[8] = 0
|
||||
ScalarValues[9] = 0
|
||||
ScalarValues[10] = -0.061905
|
||||
ScalarValues[11] = 0.01
|
||||
ScalarValues[12] = 10000
|
||||
ScalarValues[13] = 1.53059
|
||||
ScalarValues[14] = 0
|
||||
ScalarValues[15] = 15.2381
|
||||
ScalarValues[16] = 0
|
||||
ScalarValues[17] = 0.552381
|
||||
ScalarValues[18] = 0
|
||||
ScalarValues[19] = 0.8
|
||||
ScalarValues[20] = 0
|
||||
ScalarValues[21] = 0.3
|
||||
ScalarValues[22] = 1.1098
|
||||
ScalarValues[23] = 0.157143
|
||||
ScalarValues[24] = 0.5
|
||||
ScalarValues[25] = 1
|
||||
ScalarValues[26] = 1
|
||||
ScalarValues[27] = 1
|
||||
ScalarValues[28] = 0
|
||||
ScalarValues[29] = 0.5
|
||||
ScalarValues[30] = 3
|
||||
ScalarValues[31] = -0.061904
|
||||
ScalarValues[32] = 0.171429
|
||||
ScalarValues[33] = 1
|
||||
ScalarValues[34] = 0.214286
|
||||
ScalarValues[35] = 1
|
||||
ScalarValues[36] = 1
|
||||
ScalarValues[37] = 0
|
||||
ScalarValues[38] = 1
|
||||
ScalarValues[39] = 2
|
||||
ScalarValues[40] = 0.5
|
||||
ScalarValues[41] = 4.41753
|
||||
}
|
||||
VectorValues[6] =
|
||||
{
|
||||
VectorValues[0] = { R=0, G=0, B=0, A=1 }
|
||||
VectorValues[1] = { R=128, G=128, B=128, A=1 }
|
||||
VectorValues[2] = { R=0, G=0, B=1, A=1 }
|
||||
VectorValues[3] = { R=1, G=0.691357, B=0.42218, A=1 }
|
||||
VectorValues[4] = { R=0, G=50, B=0, A=1 }
|
||||
VectorValues[5] = { R=1, G=1, B=1, A=1 }
|
||||
}
|
||||
TextureValues[10] =
|
||||
{
|
||||
TextureValues[0] = Texture2D'/Game/VFX/Textures/Gradients/VFX_T_VerticalBeam_D.VFX_T_VerticalBeam_D'
|
||||
TextureValues[1] = Texture2D'/Game/VFX/Enemies/ConjuredDragon/VFX_T_RanrakDragon_UpperAlpha_E.VFX_T_RanrakDragon_UpperAlpha_E'
|
||||
TextureValues[2] = Texture2D'/Game/VFX/Textures/Noises/VFX_T_Noise05_D.VFX_T_Noise05_D'
|
||||
TextureValues[3] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_flat_n.base_flat_n'
|
||||
TextureValues[4] = Texture2D'/Game/VFX/Textures/Noises/VFX_T_Noise05_D.VFX_T_Noise05_D'
|
||||
TextureValues[5] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_white_d.base_white_d'
|
||||
TextureValues[6] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/T_Base011_MRO.T_Base011_MRO'
|
||||
TextureValues[7] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/Noise/T_GlassNoise_D.T_GlassNoise_D'
|
||||
TextureValues[8] = Texture2D'/Game/RiggedObjects/Characters/Creatures/Dragons/ConjuredDragon/Textures/VFX_T_RanrakDragon_Upper_E.VFX_T_RanrakDragon_Upper_E'
|
||||
TextureValues[9] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_black_d.base_black_d'
|
||||
}
|
||||
}
|
||||
ReferencedTextures[16] =
|
||||
{
|
||||
ReferencedTextures[0] = Texture2D'/Engine/EngineMaterials/Good64x64TilingNoiseHighFreq.Good64x64TilingNoiseHighFreq'
|
||||
ReferencedTextures[1] = Texture2D'/Game/RiggedObjects/Environments/Forageables/Horklump/Textures/T_Forageable_Horklump_Gradient_D.T_Forageable_Horklump_Gradient_D'
|
||||
ReferencedTextures[2] = Texture2D'/Game/MaterialFunctions/BaseTextures/ColorNoise/T_ColorNoise512_D.T_ColorNoise512_D'
|
||||
ReferencedTextures[3] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/T_Blank_A.T_Blank_A'
|
||||
ReferencedTextures[4] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/T_Base011_MRO.T_Base011_MRO'
|
||||
ReferencedTextures[5] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_white_d.base_white_d'
|
||||
ReferencedTextures[6] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_flat_n.base_flat_n'
|
||||
ReferencedTextures[7] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_black_d.base_black_d'
|
||||
ReferencedTextures[9] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/WaterCaustics/T_WaterCaustics_Disorder_A.T_WaterCaustics_Disorder_A'
|
||||
ReferencedTextures[10] = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/Noise/T_GlassNoise_D.T_GlassNoise_D'
|
||||
ReferencedTextures[11] = Texture2D'/Game/VFX/Textures/Noises/VFX_T_Noise05_D.VFX_T_Noise05_D'
|
||||
ReferencedTextures[12] = Texture2D'/Game/VFX/Textures/Gradients/VFX_T_VerticalBeam_D.VFX_T_VerticalBeam_D'
|
||||
ReferencedTextures[13] = Texture2D'/Game/RiggedObjects/Characters/Creatures/Dragons/ConjuredDragon/Textures/VFX_T_RanrakDragon_Upper_E.VFX_T_RanrakDragon_Upper_E'
|
||||
ReferencedTextures[14] = Texture2D'/Game/VFX/Enemies/ConjuredDragon/VFX_T_RanrakDragon_UpperAlpha_E.VFX_T_RanrakDragon_UpperAlpha_E'
|
||||
ReferencedTextures[15] = Texture2D'/Game/VFX/Textures/Noises/VFX_T_RibbonOffset_N.VFX_T_RibbonOffset_N'
|
||||
}
|
||||
}
|
||||
BlendMode = BLEND_Masked (1)
|
||||
OpacityMaskClipValue = 0.333
|
||||
CollectedTextureParameters[10] =
|
||||
{
|
||||
CollectedTextureParameters[0] =
|
||||
{
|
||||
Texture = Texture2D'/Game/VFX/Textures/Gradients/VFX_T_VerticalBeam_D.VFX_T_VerticalBeam_D'
|
||||
Name = ScrollingWipeTexture
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[1] =
|
||||
{
|
||||
Texture = Texture2D'/Game/VFX/Enemies/ConjuredDragon/VFX_T_RanrakDragon_UpperAlpha_E.VFX_T_RanrakDragon_UpperAlpha_E'
|
||||
Name = Alpha Mask
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[2] =
|
||||
{
|
||||
Texture = Texture2D'/Game/VFX/Textures/Noises/VFX_T_Noise05_D.VFX_T_Noise05_D'
|
||||
Name = ScrollingMapA
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[3] =
|
||||
{
|
||||
Texture = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_flat_n.base_flat_n'
|
||||
Name = Normal Map
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[4] =
|
||||
{
|
||||
Texture = Texture2D'/Game/VFX/Textures/Noises/VFX_T_Noise05_D.VFX_T_Noise05_D'
|
||||
Name = ScrollingMapB
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[5] =
|
||||
{
|
||||
Texture = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_white_d.base_white_d'
|
||||
Name = Diffuse Map
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[6] =
|
||||
{
|
||||
Texture = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/T_Base011_MRO.T_Base011_MRO'
|
||||
Name = MRO Map
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[7] =
|
||||
{
|
||||
Texture = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/Noise/T_GlassNoise_D.T_GlassNoise_D'
|
||||
Name = Distortion Pattern
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[8] =
|
||||
{
|
||||
Texture = Texture2D'/Game/RiggedObjects/Characters/Creatures/Dragons/ConjuredDragon/Textures/VFX_T_RanrakDragon_Upper_E.VFX_T_RanrakDragon_Upper_E'
|
||||
Name = EmissiveMap
|
||||
Group = None
|
||||
}
|
||||
CollectedTextureParameters[9] =
|
||||
{
|
||||
Texture = Texture2D'/Game/Environment/MasterMaterials/BaseTextures/base_black_d.base_black_d'
|
||||
Name = Emissive Map
|
||||
Group = None
|
||||
}
|
||||
}
|
||||
CollectedScalarParameters[42] =
|
||||
{
|
||||
CollectedScalarParameters[0] = { Value=0.05, Name=Distortion Speed X, Group=None }
|
||||
CollectedScalarParameters[1] = { Value=1.21639, Name=Exp, Group=None }
|
||||
CollectedScalarParameters[2] = { Value=1, Name=Fresnel Emissive Power, Group=None }
|
||||
CollectedScalarParameters[3] = { Value=1, Name=Saturation, Group=None }
|
||||
CollectedScalarParameters[4] = { Value=0.1, Name=WipeSpeedX, Group=None }
|
||||
CollectedScalarParameters[5] = { Value=1, Name=Alpha_PhysicalState, Group=None }
|
||||
CollectedScalarParameters[6] = { Value=0.66, Name=A, Group=None }
|
||||
CollectedScalarParameters[7] = { Value=0, Name=WipeSpeedY, Group=None }
|
||||
CollectedScalarParameters[8] = { Value=0, Name=FlattenHeight, Group=None }
|
||||
CollectedScalarParameters[9] =
|
||||
{
|
||||
Value = 0
|
||||
Name = ObjectFadePerinstanceOverride
|
||||
Group = None
|
||||
}
|
||||
CollectedScalarParameters[10] = { Value=-0.061905, Name=Speed U B (S), Group=None }
|
||||
CollectedScalarParameters[11] = { Value=0.01, Name=Distortion Speed Y, Group=None }
|
||||
CollectedScalarParameters[12] = { Value=10000, Name=GlowWipeStrength, Group=None }
|
||||
CollectedScalarParameters[13] =
|
||||
{
|
||||
Value = 1.53059
|
||||
Name = Noise Size Scale (S)
|
||||
Group = None
|
||||
}
|
||||
CollectedScalarParameters[14] =
|
||||
{
|
||||
Value = 0
|
||||
Name = Fresnel Emissive Strength
|
||||
Group = None
|
||||
}
|
||||
CollectedScalarParameters[15] = { Value=15.2381, Name=EmissiveStrength, Group=None }
|
||||
CollectedScalarParameters[16] = { Value=0, Name=Metallic Adjuster, Group=None }
|
||||
CollectedScalarParameters[17] =
|
||||
{
|
||||
Value = 0.552381
|
||||
Name = Noise Speed Scale (S)
|
||||
Group = None
|
||||
}
|
||||
CollectedScalarParameters[18] = { Value=0, Name=Roughness Adjuster, Group=None }
|
||||
CollectedScalarParameters[19] = { Value=0.8, Name=LimitB, Group=None }
|
||||
CollectedScalarParameters[20] = { Value=0, Name=AO Adjuster, Group=None }
|
||||
CollectedScalarParameters[21] = { Value=0.3, Name=LimitA, Group=None }
|
||||
CollectedScalarParameters[22] = { Value=1.1098, Name=Power (S), Group=None }
|
||||
CollectedScalarParameters[23] = { Value=0.157143, Name=Speed V (S), Group=None }
|
||||
CollectedScalarParameters[24] = { Value=0.5, Name=Distortion Strength, Group=None }
|
||||
CollectedScalarParameters[25] = { Value=1, Name=Color_Multiplier, Group=None }
|
||||
CollectedScalarParameters[26] = { Value=1, Name=Diffuse Brightness, Group=None }
|
||||
CollectedScalarParameters[27] = { Value=1, Name=ObjectFadeOpacity, Group=None }
|
||||
CollectedScalarParameters[28] = { Value=0, Name=Flatten, Group=None }
|
||||
CollectedScalarParameters[29] = { Value=0.5, Name=Tiling U B (S), Group=None }
|
||||
CollectedScalarParameters[30] = { Value=3, Name=Exp_1, Group=None }
|
||||
CollectedScalarParameters[31] = { Value=-0.061904, Name=Speed V B (S), Group=None }
|
||||
CollectedScalarParameters[32] =
|
||||
{
|
||||
Value = 0.171429
|
||||
Name = Alpha_EtherealState
|
||||
Group = None
|
||||
}
|
||||
CollectedScalarParameters[33] = { Value=1, Name=Normal Height, Group=None }
|
||||
CollectedScalarParameters[34] = { Value=0.214286, Name=Speed U (S), Group=None }
|
||||
CollectedScalarParameters[35] = { Value=1, Name=Tiling U (S), Group=None }
|
||||
CollectedScalarParameters[36] = { Value=1, Name=Tiling V (S), Group=None }
|
||||
CollectedScalarParameters[37] = { Value=0, Name=Emissive Brightness, Group=None }
|
||||
CollectedScalarParameters[38] = { Value=1, Name=UV scale, Group=None }
|
||||
CollectedScalarParameters[39] = { Value=2, Name=Distortion Tiling, Group=None }
|
||||
CollectedScalarParameters[40] = { Value=0.5, Name=Tiling V B (S), Group=None }
|
||||
CollectedScalarParameters[41] = { Value=4.41753, Name=B, Group=None }
|
||||
}
|
||||
CollectedVectorParameters[6] =
|
||||
{
|
||||
CollectedVectorParameters[0] =
|
||||
{
|
||||
Value = { R=0, G=0, B=0, A=1 }
|
||||
Name = Emissive Fresnel Color
|
||||
Group = None
|
||||
}
|
||||
CollectedVectorParameters[1] =
|
||||
{
|
||||
Value = { R=128, G=128, B=128, A=1 }
|
||||
Name = ColorSize
|
||||
Group = None
|
||||
}
|
||||
CollectedVectorParameters[2] =
|
||||
{
|
||||
Value = { R=0, G=0, B=1, A=1 }
|
||||
Name = Axis
|
||||
Group = None
|
||||
}
|
||||
CollectedVectorParameters[3] =
|
||||
{
|
||||
Value = { R=1, G=0.691357, B=0.42218, A=1 }
|
||||
Name = EmColor
|
||||
Group = None
|
||||
}
|
||||
CollectedVectorParameters[4] =
|
||||
{
|
||||
Value = { R=0, G=50, B=0, A=1 }
|
||||
Name = PivotPoint
|
||||
Group = None
|
||||
}
|
||||
CollectedVectorParameters[5] =
|
||||
{
|
||||
Value = { R=1, G=1, B=1, A=1 }
|
||||
Name = Color
|
||||
Group = None
|
||||
}
|
||||
}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[4] =
|
||||
{
|
||||
TextureStreamingData[0] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = base_flat_n
|
||||
}
|
||||
TextureStreamingData[1] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = base_white_d
|
||||
}
|
||||
TextureStreamingData[2] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_Base011_MRO
|
||||
}
|
||||
TextureStreamingData[3] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = VFX_T_RanrakDragon_UpperAlpha_E
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
Diffuse=T_DragonEye_Iris_D
|
||||
Other[0]=Good64x64TilingNoiseHighFreq
|
||||
Other[1]=T_CorruptedSpider_Eye_D
|
||||
Other[2]=VFX_T_CausticNoise_C_Seamless_D
|
||||
@@ -0,0 +1,102 @@
|
||||
TwoSided = false
|
||||
bDisableDepthTest = false
|
||||
bIsMasked = false
|
||||
ReferencedTextures[4] =
|
||||
{
|
||||
ReferencedTextures[0] = Texture2D'/Engine/EngineMaterials/Good64x64TilingNoiseHighFreq.Good64x64TilingNoiseHighFreq'
|
||||
ReferencedTextures[1] = Texture2D'/Game/RiggedObjects/Characters/Creatures/Dragons/HebrideanBlack/Textures/T_DragonEye_Iris_D.T_DragonEye_Iris_D'
|
||||
ReferencedTextures[2] = Texture2D'/Game/RiggedObjects/Characters/Creatures/Insects/Spiders/Acromantula_Corrupted/Textures/T_CorruptedSpider_Eye_D.T_CorruptedSpider_Eye_D'
|
||||
ReferencedTextures[3] = Texture2D'/Game/VFX/Textures/Liquid/VFX_T_CausticNoise_C_Seamless_D.VFX_T_CausticNoise_C_Seamless_D'
|
||||
}
|
||||
Expressions[0] = {}
|
||||
CachedExpressionData =
|
||||
{
|
||||
Parameters =
|
||||
{
|
||||
Entries[5] =
|
||||
{
|
||||
Entries[0] =
|
||||
{
|
||||
ParameterInfos[8] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=SphereMaskHardness }
|
||||
ParameterInfos[1] = { Name=roughness }
|
||||
ParameterInfos[2] = { Name=innerDensity }
|
||||
ParameterInfos[3] = { Name=SphereRadiusMax }
|
||||
ParameterInfos[4] = { Name=baseColorHueShift }
|
||||
ParameterInfos[5] = { Name=innerIntensiity }
|
||||
ParameterInfos[6] = { Name=innerRadius }
|
||||
ParameterInfos[7] = { Name=baseIntensity }
|
||||
}
|
||||
}
|
||||
Entries[1] = { ParameterInfos[0]={} }
|
||||
Entries[2] =
|
||||
{
|
||||
ParameterInfos[1] =
|
||||
{
|
||||
ParameterInfos[0] = { Name=opacityMask }
|
||||
}
|
||||
}
|
||||
Entries[3] = { ParameterInfos[0]={} }
|
||||
Entries[4] = { ParameterInfos[0]={} }
|
||||
}
|
||||
ScalarValues[8] = { 0.2, 0, 2.55, 3500, 0, 20, 0.1, 1 }
|
||||
VectorValues[0] = {}
|
||||
TextureValues[1] =
|
||||
{
|
||||
TextureValues[0] = Texture2D'/Game/VFX/Textures/Liquid/VFX_T_CausticNoise_C_Seamless_D.VFX_T_CausticNoise_C_Seamless_D'
|
||||
}
|
||||
}
|
||||
ReferencedTextures[4] =
|
||||
{
|
||||
ReferencedTextures[0] = Texture2D'/Engine/EngineMaterials/Good64x64TilingNoiseHighFreq.Good64x64TilingNoiseHighFreq'
|
||||
ReferencedTextures[1] = Texture2D'/Game/RiggedObjects/Characters/Creatures/Dragons/HebrideanBlack/Textures/T_DragonEye_Iris_D.T_DragonEye_Iris_D'
|
||||
ReferencedTextures[2] = Texture2D'/Game/RiggedObjects/Characters/Creatures/Insects/Spiders/Acromantula_Corrupted/Textures/T_CorruptedSpider_Eye_D.T_CorruptedSpider_Eye_D'
|
||||
ReferencedTextures[3] = Texture2D'/Game/VFX/Textures/Liquid/VFX_T_CausticNoise_C_Seamless_D.VFX_T_CausticNoise_C_Seamless_D'
|
||||
}
|
||||
}
|
||||
BlendMode = BLEND_Masked (1)
|
||||
OpacityMaskClipValue = 0.333
|
||||
CollectedTextureParameters[1] =
|
||||
{
|
||||
CollectedTextureParameters[0] =
|
||||
{
|
||||
Texture = Texture2D'/Game/VFX/Textures/Liquid/VFX_T_CausticNoise_C_Seamless_D.VFX_T_CausticNoise_C_Seamless_D'
|
||||
Name = opacityMask
|
||||
Group = None
|
||||
}
|
||||
}
|
||||
CollectedScalarParameters[8] =
|
||||
{
|
||||
CollectedScalarParameters[0] = { Value=0.2, Name=SphereMaskHardness, Group=None }
|
||||
CollectedScalarParameters[1] = { Value=0, Name=roughness, Group=None }
|
||||
CollectedScalarParameters[2] = { Value=2.55, Name=innerDensity, Group=None }
|
||||
CollectedScalarParameters[3] = { Value=3500, Name=SphereRadiusMax, Group=None }
|
||||
CollectedScalarParameters[4] = { Value=0, Name=baseColorHueShift, Group=None }
|
||||
CollectedScalarParameters[5] = { Value=20, Name=innerIntensiity, Group=None }
|
||||
CollectedScalarParameters[6] = { Value=0.1, Name=innerRadius, Group=None }
|
||||
CollectedScalarParameters[7] = { Value=1, Name=baseIntensity, Group=None }
|
||||
}
|
||||
CollectedVectorParameters[0] = {}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[2] =
|
||||
{
|
||||
TextureStreamingData[0] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_CorruptedSpider_Eye_D
|
||||
}
|
||||
TextureStreamingData[1] =
|
||||
{
|
||||
SamplingScale = 2
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_DragonEye_Iris_D
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
Diffuse=T_ConjuredDragon_Body_D
|
||||
Normal=T_ConjuredDragon_Body_N
|
||||
SpecPower=T_Cav_Spid_ThickWeb_N
|
||||
Other[0]=T_ConjuredDragon_Body_MSK
|
||||
Other[1]=T_ConjuredDragon_Body_MRO
|
||||
Other[2]=BaseFlattenNormalMap
|
||||
Other[3]=BlendFunc_DefBase
|
||||
Other[4]=BlendFunc_DefBlend
|
||||
Other[5]=DefaultDiffuse
|
||||
Other[6]=DefaultNormal
|
||||
Other[7]=DefaultNormal_Uncompressed
|
||||
Other[8]=DefaultTexture
|
||||
Other[9]=LowResBlurredNoise
|
||||
Other[10]=T_CastleDun_RockDetail_N
|
||||
Other[11]=base_white_d
|
||||
Other[12]=T_WaterCaustics_Disorder_A
|
||||
Other[13]=T_Distortion_Wave_A
|
||||
Other[14]=T_DefaultGrey_D
|
||||
Other[15]=T_RainDrop_Char_MSK
|
||||
Other[16]=T_RainDropWetness_Char_MSK
|
||||
Other[17]=T_RainPattern_Char_MSK
|
||||
Other[18]=T_SnowPattern_Char_MSK
|
||||
Other[19]=VFX_T_Scarab_Tile_D
|
||||
Other[20]=VFX_T_Scarab_Tile_N
|
||||
Other[21]=VFX_T_Spid_ThickWeb_BPF_D
|
||||
Other[22]=VFX_T_LowFreq_FM
|
||||
Other[23]=VFX_T_Circular_BPF_D
|
||||
Other[24]=VFX_T_Gradient_Fire_D
|
||||
Other[25]=VFX_T_CausticNoise_C_Seamless_D
|
||||
Other[26]=VFX_T_Ice_D
|
||||
Other[27]=VFX_T_Ice_N
|
||||
Other[28]=VFX_T_Ice_R
|
||||
Other[29]=VFX_T_BubbleMask_D
|
||||
Other[30]=VFX_T_Cloud_SoftWisps_D
|
||||
Other[31]=VFX_T_DistortionNoise_N
|
||||
Other[32]=VFX_T_GooSoft_Noise_N
|
||||
Other[33]=VFX_T_MarbleSkin_01_BPF_D
|
||||
Other[34]=VFX_T_MarbleSkin_01_D
|
||||
Other[35]=VFX_T_MarbleSkin_01_N
|
||||
Other[36]=VFX_T_Noise04_D
|
||||
Other[37]=VFX_T_Noise05_D
|
||||
Other[38]=VFX_T_Noise07_D
|
||||
Other[39]=VFX_T_Noise08_D
|
||||
Other[40]=VFX_T_Noise11_D
|
||||
Other[41]=VFX_T_Noise12_D
|
||||
Other[42]=VFX_T_Noise_Corruption_E
|
||||
Other[43]=VFX_T_Noise_Soft_D
|
||||
Other[44]=VFX_T_NoiseCaustics01_Color_D
|
||||
Other[45]=VFX_T_NoiseCaustics02_Color_D
|
||||
Other[46]=VFX_T_NoiseCaustics04_D
|
||||
Other[47]=VFX_T_NoiseGreypack01_D
|
||||
Other[48]=VFX_T_NoiseGreypack02_D
|
||||
Other[49]=VFX_T_noisetile_D
|
||||
Other[50]=VFX_T_PlasmaSpell_D
|
||||
Other[51]=VFX_T_RibbonOffset_N
|
||||
Other[52]=VFX_T_SwirlNoise_05_Chroma_D
|
||||
Other[53]=T_White_4x4_D
|
||||
Other[54]=T_WhitePixel_D
|
||||
Other[55]=T_VolcanicAshall_DSP
|
||||
Other[56]=VFX_T_dist_noise_N
|
||||
Other[57]=VFX_T_Edurus_D
|
||||
Other[58]=VFX_T_Edurus_MRO
|
||||
Other[59]=VFX_T_Edurus_MSK
|
||||
Other[60]=VFX_T_Edurus_N
|
||||
Other[61]=VFX_T_FireballGeo_E
|
||||
Other[62]=VFX_T_IceB_D
|
||||
Other[63]=VFX_T_IceB_mask_D
|
||||
Other[64]=VFX_T_IceB_N
|
||||
Other[65]=VFX_T_Inky_Smoke_D
|
||||
Other[66]=VFX_T_NoiseBlast01_D
|
||||
Other[67]=VFX_T_Petrificus_Cracks_BPF_D
|
||||
Other[68]=VFX_T_Petrificus_SkinFX_AO
|
||||
Other[69]=VFX_T_Petrificus_SkinFX_BPF_D
|
||||
Other[70]=VFX_T_Petrificus_SkinFX_D_HDR
|
||||
Other[71]=VFX_T_Petrificus_SkinFX_M
|
||||
Other[72]=VFX_T_Petrificus_SkinFX_N
|
||||
Other[73]=VFX_T_Petrificus_SkinFX_R
|
||||
Other[74]=VFX_T_SkinBurn_Alpha_D
|
||||
Other[75]=VFX_T_SkinBurn_Emiss_BPF_D
|
||||
Other[76]=VFX_T_SkinBurn_N
|
||||
Other[77]=VFX_T_Spider_Por_Web_D
|
||||
Other[78]=VFX_T_Wavy_N
|
||||
Other[79]=T_Snow_D
|
||||
Other[80]=T_Snow_N
|
||||
Other[81]=T_Snow_R
|
||||
@@ -0,0 +1,226 @@
|
||||
Parent = Material3'/Game/VFX/Enemies/ConjuredDragon/VFX_MM_ConjuredDragon.VFX_MM_ConjuredDragon'
|
||||
ScalarParameterValues[12] =
|
||||
{
|
||||
ScalarParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=Diffuse Brightness }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[1] =
|
||||
{
|
||||
ParameterInfo = { Name=EmStrength_Powerful }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[2] =
|
||||
{
|
||||
ParameterInfo = { Name=debugBlendScalar }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[3] =
|
||||
{
|
||||
ParameterInfo = { Name=Intensity (S) B }
|
||||
ParameterValue = 0.4
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[4] =
|
||||
{
|
||||
ParameterInfo = { Name=Metallic_Ethereal }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[5] =
|
||||
{
|
||||
ParameterInfo = { Name=Roughness_Ethereal }
|
||||
ParameterValue = 1
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[6] =
|
||||
{
|
||||
ParameterInfo = { Name=SolidEmStrength }
|
||||
ParameterValue = 3.24
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[7] =
|
||||
{
|
||||
ParameterInfo = { Name=Tiling U (S) }
|
||||
ParameterValue = 12
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[8] =
|
||||
{
|
||||
ParameterInfo = { Name=weakChestEmissivMaskPower }
|
||||
ParameterValue = 50
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[9] =
|
||||
{
|
||||
ParameterInfo = { Name=woundIntensity }
|
||||
ParameterValue = 509.375
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[10] =
|
||||
{
|
||||
ParameterInfo = { Name=woundPower }
|
||||
ParameterValue = 5
|
||||
ParameterName = None
|
||||
}
|
||||
ScalarParameterValues[11] =
|
||||
{
|
||||
ParameterInfo = { Name=RefractionDepthBias }
|
||||
ParameterValue = 0
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
TextureParameterValues[4] =
|
||||
{
|
||||
TextureParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=Mask }
|
||||
ParameterValue = Texture2D'/Game/RiggedObjects/Characters/Creatures/Dragons/ConjuredDragon/Textures/T_ConjuredDragon_Body_MSK.T_ConjuredDragon_Body_MSK'
|
||||
ParameterName = None
|
||||
}
|
||||
TextureParameterValues[1] =
|
||||
{
|
||||
ParameterInfo = { Name=Diffuse Map }
|
||||
ParameterValue = Texture2D'/Game/RiggedObjects/Characters/Creatures/Dragons/ConjuredDragon/Textures/T_ConjuredDragon_Body_D.T_ConjuredDragon_Body_D'
|
||||
ParameterName = None
|
||||
}
|
||||
TextureParameterValues[2] =
|
||||
{
|
||||
ParameterInfo = { Name=MRO Map }
|
||||
ParameterValue = Texture2D'/Game/RiggedObjects/Characters/Creatures/Dragons/ConjuredDragon/Textures/T_ConjuredDragon_Body_MRO.T_ConjuredDragon_Body_MRO'
|
||||
ParameterName = None
|
||||
}
|
||||
TextureParameterValues[3] =
|
||||
{
|
||||
ParameterInfo = { Name=Normal Map }
|
||||
ParameterValue = Texture2D'/Game/RiggedObjects/Characters/Creatures/Dragons/ConjuredDragon/Textures/T_ConjuredDragon_Body_N.T_ConjuredDragon_Body_N'
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
VectorParameterValues[5] =
|
||||
{
|
||||
VectorParameterValues[0] =
|
||||
{
|
||||
ParameterInfo = { Name=BaseColor_Ethereal }
|
||||
ParameterValue = { R=0.427083, G=0, B=0.010455, A=1 }
|
||||
ParameterName = None
|
||||
}
|
||||
VectorParameterValues[1] =
|
||||
{
|
||||
ParameterInfo = { Name=energyColor }
|
||||
ParameterValue = { R=1, G=0, B=0.013355, A=1 }
|
||||
ParameterName = None
|
||||
}
|
||||
VectorParameterValues[2] =
|
||||
{
|
||||
ParameterInfo = { Name=powerfulBonesBaseColor }
|
||||
ParameterValue = { R=0.041667, G=0.000535, B=0, A=1 }
|
||||
ParameterName = None
|
||||
}
|
||||
VectorParameterValues[3] =
|
||||
{
|
||||
ParameterInfo = { Name=SolidEmColor }
|
||||
ParameterValue = { R=1, G=0, B=0, A=1 }
|
||||
ParameterName = None
|
||||
}
|
||||
VectorParameterValues[4] =
|
||||
{
|
||||
ParameterInfo = { Name=woundColor }
|
||||
ParameterValue = { R=1, G=0, B=0.033333, A=1 }
|
||||
ParameterName = None
|
||||
}
|
||||
}
|
||||
BasePropertyOverrides =
|
||||
{
|
||||
bOverride_BlendMode = false
|
||||
BlendMode = BLEND_Masked (1)
|
||||
bOverride_TwoSided = false
|
||||
TwoSided = true
|
||||
bOverride_OpacityMaskClipValue = false
|
||||
OpacityMaskClipValue = 0.3333
|
||||
}
|
||||
StaticParameters =
|
||||
{
|
||||
StaticSwitchParameters[1] =
|
||||
{
|
||||
StaticSwitchParameters[0] =
|
||||
{
|
||||
Value = true
|
||||
ParameterInfo = { Name=UseSphereMask }
|
||||
bOverride = true
|
||||
}
|
||||
}
|
||||
StaticComponentMaskParameters[0] = {}
|
||||
TerrainLayerWeightParameters[0] = {}
|
||||
MaterialLayersParameters[0] = {}
|
||||
}
|
||||
RuntimeVirtualTextureParameterValues[0] = {}
|
||||
FontParameterValues[0] = {}
|
||||
FlattenedTexture = None
|
||||
MobileBaseTexture = None
|
||||
MobileNormalTexture = None
|
||||
bUseMobileSpecular = false
|
||||
MobileSpecularPower = 16
|
||||
MobileSpecularMask = MSM_Constant (0)
|
||||
MobileMaskTexture = None
|
||||
TextureStreamingData[9] =
|
||||
{
|
||||
TextureStreamingData[0] =
|
||||
{
|
||||
SamplingScale = 12
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_CastleDun_RockDetail_N
|
||||
}
|
||||
TextureStreamingData[1] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_ConjuredDragon_Body_D
|
||||
}
|
||||
TextureStreamingData[2] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_ConjuredDragon_Body_MRO
|
||||
}
|
||||
TextureStreamingData[3] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_ConjuredDragon_Body_N
|
||||
}
|
||||
TextureStreamingData[4] =
|
||||
{
|
||||
SamplingScale = 15
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_Distortion_Wave_A
|
||||
}
|
||||
TextureStreamingData[5] =
|
||||
{
|
||||
SamplingScale = 5
|
||||
UVChannelIndex = 0
|
||||
TextureName = T_WaterCaustics_Disorder_A
|
||||
}
|
||||
TextureStreamingData[6] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = VFX_T_CausticNoise_C_Seamless_D
|
||||
}
|
||||
TextureStreamingData[7] =
|
||||
{
|
||||
SamplingScale = 12
|
||||
UVChannelIndex = 0
|
||||
TextureName = VFX_T_DistortionNoise_N
|
||||
}
|
||||
TextureStreamingData[8] =
|
||||
{
|
||||
SamplingScale = 1
|
||||
UVChannelIndex = 0
|
||||
TextureName = VFX_T_Noise_Corruption_E
|
||||
}
|
||||
}
|
||||