Jump to content
  • Advertisement
Sign in to follow this  
user88

Vertex from WorldView to World

This topic is 2562 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

Hello,

I have some vertex transformed in WorldView coordinates space.

Is there way to get this vertex in World only space?

I tried multiply this vertex by inverted View matrix, but it seems it is not working.

Thanks for advice.

Share this post


Link to post
Share on other sites
Advertisement
Unfortunately I'm at home now and can't show you the code. I will try describe the situation.

I make shadow map texture where i render 3d objects in World-LightView-LightProjection space. Then i generate G-Buffer (i use deffered shading technique). In G-Buffer i render 3D objects in World-CameraView space. And in the last step for shadow visualization i want sample position from G-Buffer which is in World-CameraView space, convert it to World-LightView-LightProjection space for father calculation.

Maybe my approach is not correct at whole? Is it good solution to generate position for G-Buffer in World space only or i will meet some problems in future if i will do?

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!