MCPcopy Create free account
hub / github.com/RedPandaProjects/UnrealEngine / DoCalcUnlitColor

Function DoCalcUnlitColor

Source/Render/Src/UnMeshRn.cpp:409–461  ·  view source on GitHub ↗

K6 3D optimized version of: FLOAT Unlit = Clamp( Owner->ScaleGlow*0.5f + Owner->AmbientGlow/256.f, 0.f, 1.f ); GUnlitColor = FVector( Unlit, Unlit, Unlit ); if( GIsEditor && (ExtraFlags & PF_Selected) ) GUnlitColor = GUnlitColor*0.4 + FVector(0.0,0.6,0.0); NOT PERFORMANCE CRITICAL - DONE TO REMOVE MMX->FPU->MMX SWITCH.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

AMD3DDrawMeshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected