I currently have a directional light that rotates 360 degrees, i want to change the lights properties when the light rotates 180 degrees but when i put an if else statement and
Light->Intesity = 0.0f;
that doesn’t seem to do anything.
any suggestions?