Sign in to follow this  
Valor Knight

Pixel Shader question

Recommended Posts

Is there a way to plaster a texture onto a surface (in my case, a dome) with no uv coordinates? I would like to add a sun to my skydome, and have a vector to the place the sun is supposed to go, and a color (the texture is white w/ alpha .dds), it just needs to be plastered onto the wall somehow. How would I do this efficiently without having to find and deal with the uv's (I can use shader 3.0) ?

Share this post


Link to post
Share on other sites
I would just render a billboarded quad at the sun's position with the sun's texture. Try and look into that and see what the results are?

You could always use perspective texturing to render the sun on the dome, but that's overkill (without a doubt) and wont even give desirable results I think.

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