WoodenAX
(WoodenAX)
November 18, 2020, 6:18am
1
hi guys, I just wonder what panner node source code looks like, so I try to find it in the engine source code, and unfortunately I didnt find anything in the materialexpression.cpp, all what I can see is the definition in engine:
UMaterialExpressionPanner::UMaterialExpressionPanner(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
// Structure to hold one-time initialization
struct FConstructorStatics
{
FText NAME_Coordinates;
FConstructorStatics()
: NAME_Coordinates(LOCTEXT( “Coordinates”, “Coordinates” ))
{
}
};
static FConstructorStatics ConstructorStatics;
but not something mathmatical how it works. can any one help me on that plz?
Deathrey
(DeathreyCG)
November 18, 2020, 7:33am
2
WoodenAX:
hi guys, I just wonder what panner node source code looks like, so I try to find it in the engine source code, and unfortunately I didnt find anything in the materialexpression.cpp, all what I can see is the definition in engine:
UMaterialExpressionPanner::UMaterialExpressionPanner(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
{
// Structure to hold one-time initialization
struct FConstructorStatics
{
FText NAME_Coordinates;
FConstructorStatics()
: NAME_Coordinates(LOCTEXT( “Coordinates”, “Coordinates” ))
{
}
};
static FConstructorStatics ConstructorStatics;
but not something mathmatical how it works. can any one help me on that plz?
Most of the code is in HLSL material translator.