J'Kla wrote:OK This one is doing my head in.
I am in the process of building a simple age and documenting the process as I go.
I have a plane which has a basic texture I have a simple lamp of type spot projection onto the surface.
When I export the spot light did not show on the surface.
But I know that this worked in another age so I appended the plane surface from that other age into my experimental age and placed it under the spot lamp and it showed.
So we know the lamp is correct
So I changed my Material on the plane that was not showing to the Material from the Appended plane
Then I switched off the appended one as a plasma object and exported and tested again.
No spot light image?
We know the Spotlight works we know the Material works I have tried lots a number of variations of unwrapping I have compared the planes I am still experimenting.
Please does anyone have any ideas
Now this is weird I subdivided the plane and the spotlight shows nothing else now I am really confused.
Emor D'ni Lap wrote:J'Kla, I'm not sure if some research I did many years ago pertains to your question...or not!
However, I was stumped on why a projection spot I'd created (yes, in Blender) wasn't showing up in-game. My first post in these forums was on this subject (and got exactly zero response, despite my sample file having been downloaded many dozens of times).
D'Lanor sent me the PyPRP code covering lighting matters, and I located what I thought was an unnecessary multiplication-by-pi in the code, and then with a bunch of empirical testing verified that dividing the spot cone's angle by pi gave me exactly the results I was looking for. D'Lanor later reported this finding, but I have no idea whether the code was subsequently altered to correct this.
TL;DR: It's possible you may not be seeing your spot because the beam is spread out to over three times the angle you've input to Blender, making it so weak as to be invisible. Try dividing that angle by 3.1415.... and see if it makes a difference.
Users browsing this forum: No registered users and 3 guests