Quantcast
Channel: Question and Answer » hlsl
Viewing all articles
Browse latest Browse all 69

Vertex normals in the geometry shader using directx

$
0
0

I’m in directx 11 with the geometry shader.

Is is possible to calculate vertex normals? Just one like segment per vertex? In the geometry shader?

I did vertex normals per face, this is what I got,
enter image description here

My exercise in the book wants something like
enter image description here


Viewing all articles
Browse latest Browse all 69

Trending Articles