I'm trying to make a flickering light in one of my levels, but whenever I click on the blue arrow to create a light function it doesn't do anything. I've been searching around for a couple of weks now and can't find anything relating to this problem, hoping one of you might know. Thanks.
Replies
Has to be a dynamic light - Move/Toggle
Create a spotlight MOVEABLE
In the content browser, create a new material
In the materials properties, look under Material settings, set Blend mode to Translucent and Lighting Model to Unlit
Under mutually exclusive usage, activate Used As Light Function
Bring in a cloud texture using the Content Browser (this will give us random flicker in a few moments)
Plug the texture directly into the Emissive channel
Save the material
In the properties, look under Function
Click the little blue arrow and choose Function
Under the functions properties, add the new material under Light Function Material
Your spotlight should now have a cloud gel
Back in your material, add a Panner (hold the P key and click)
Wire that into the texture to make it move
Save and see the results
Create a new TextureCoordinates node. Wire it into the Panner
Set the TexCoords to something VERY small (0.001 for x and y)
Youre now sampling a very small area, about a pixel
You need to boost the brightness at this point
Bring in a power node, add a constant of 3 or so, and use it to boost the texture before it plugs into the emissive channel
Let me know if you still can't get it. G'Luck!
I had the same problem a few days ago, and discovered that only certain light can activate light function.
-dominant directional light
-directional light toggeable
-dominant point light
-Point light movable
-pointlight toggeable
-dominant spotlight
-spotlight movable
-spotlight toggeable
thos are the types of light that can use light fucntion.
and here is an explanation from unstoppablex.
hope it helped.