Jump to content

Infinite Light


Recommended Posts

Hi,

Just a quick question, really. I've not a clue how to create Light shaders. How can I create an infinite light for a scene?

(By infinite light I mean parallel light rays throughout the scene. I'm trying to represent the sun. Houdini doesn't seem to come with infinite light shaders built in.)

Thanks!

Link to comment
Share on other sites

You don't need a special light shader to do this. It should all be able to be done with a default light.

Place a Light. Aim it at the scene. Set the light projection from persepctive to orthographic. This gives you the parrallel ray "space" properly defined without having to do this in the light shader.

Next, every default light added has an attenuation that essentially makes it infinite. Let's put it this way. If you were to move the light far enough away from the scene for you to start to see any attenuation in the light, I think you will have other problems related to precision, if you can actually put in those kinds of units.

-jeff

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...