Skip to main content
Participant
July 19, 2021
Question

How to calculate normal in view space?

  • July 19, 2021
  • 1 reply
  • 236 views

I want to use matcap in shader, it needs view space normal, but in documents I can't find any matrix from world space yo view space.

So, how to calcute it to use matcap?

This topic has been closed for replies.

1 reply

SayeedHuAuthor
Participant
July 19, 2021

found it. 

uniform_camera_view_matrix