0
\$\begingroup\$

In Unity3D Engine,

I usually apply normal mapping using fragment shader.

In this case,

this normal mapping is cpu overhead or gpu overhead?

\$\endgroup\$
3
  • \$\begingroup\$ If you use fragment shader, isn't it necessarily the GPU? (I'm new to gamedev) \$\endgroup\$
    – Varaquilex
    Feb 4 '15 at 6:02
  • \$\begingroup\$ I'm not that familiar with Unity, but more often than not (almost always), shaders are run on gpu hardware. \$\endgroup\$
    – Peethor
    Feb 4 '15 at 6:12
  • \$\begingroup\$ So you mean it's GPU overhead... \$\endgroup\$
    – Jinbom Heo
    Feb 4 '15 at 8:50
1
\$\begingroup\$

Normal mapping is calculated using a vertex and pixel shader, so it's GPU overhead.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.