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

Function DoAddAmbientLight

Source/Render/Src/UnLight.cpp:741–788  ·  view source on GitHub ↗

K6 3D optimized version of: Color.R = Min( Diffuse * Color.R + AmbientVector.R, 1.f ); Color.G = Min( Diffuse * Color.G + AmbientVector.G, 1.f ); Color.B = Min( Diffuse * Color.B + AmbientVector.B, 1.f );

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

AMD3DLightMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected