• Advertisement
Sign in to follow this  

want shininess on terrain

This topic is 4609 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there a way of getting shininess on parts of the terrain drawn using vertex arrays - eg for snow glistening in the sun ? cheers

Share this post


Link to post
Share on other sites
Advertisement
the first way which springs to mind is using a specular map for the surface, which is applied with the texture map and allows you to adjust/assign specular values for the surface (you'll need a lighting system which computes the specular component as well)

I'd use shaders for it, I dont think you can do it without, at least not in the way I'm thinking anyways.

Share this post


Link to post
Share on other sites
I myself have added a specular map to an already bump mapped terrian. While the per-pixel highligts were nice at moments, the resulting preformance hit was more than I wanted.

But if that is the effect you want, it's pretty simple to do in a fragment program.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement