Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've create a plane with a spot light shining from above onto it. The spot light projects a texture of an image onto the plane. The light shots out at an angle but the texture is projecting in a flat 2d form on the plane.

I expected it to stretch out much like the advertisements you'd see drawn on the pitch during a rugby or cricket match. Any idea how I'd change the way the image is shawn onto the plane?

The image should stretch out with the nearer section looking a bit more narrow than the top far section.

share|improve this question

Here is a good tutorial.

He used an empty transform to control the position and scale of the projection.

share|improve this answer
Could you please explain the tutorial in your own words so that if the video is taken down, the info will still be here? – Jonathan Connell Oct 12 '11 at 15:20
@JonathanConnell K got it. – Daniel Pendergast Oct 12 '11 at 16:04
I had a look at the tutorial video. I'm not sure if it'll be able to rotate and stretch the image being projected. The video only demo's stretching the projected image. I'll have a go tomorrow and see if an empty can rotate the image and perhaps I'll have to look at moving the plane around to try and get the image to skew. Thanks. – Mark L Oct 12 '11 at 16:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.