MCPcopy Create free account
hub / github.com/axmolengine/axmol / setLightColor

Method setLightColor

tests/cpp-tests/Source/ShaderTest/ShaderTest2.cpp:460–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460void EffectNormalMapped::setLightColor(const Color4F& color)
461{
462 _lightColor = color;
463 SET_UNIFORM(_programState, "u_diffuseL", Vec3(_lightColor.r, _lightColor.g, _lightColor.b));
464}
465
466EffectSpriteTest::EffectSpriteTest() {}
467

Callers 1

initMethod · 0.80

Calls 1

Vec3Function · 0.50

Tested by

no test coverage detected