Sign in to follow this  

Vertex from WorldView to World

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

This topic is 2344 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.

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