Sign in to follow this  

point light source

Recommended Posts

Probably not.

What you need to do, and what results you can expect, depend heavily on what you're actually doing... what code are you writing, what graphics API are you using, et cetera. Answer some of those questions and we may be able to provide more detailed, useful answers.

Chances are, however, that you will not see the light source itself. Traditionally in computer graphics, light sources are mathematical in nature -- that is, they are placed and exist, but you only see their impact on other objects around them. If you want an effect whereby you can see the bloom of the light itself, perhaps diffused through some kind of god or whatnot, you will need to implement that yourself.

If you just want to make a starfield, the typical methods are to use a skybox with a starscape texture on it, or to render point primitives (or perhaps sprites) in a background layer.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this