提交 e5ae6ac0 编写于 作者: G Gregg Tavares

better fog?

Should fog be distance from camera instead of distance from camera's zplane?
上级 f2024134
#ifdef USE_FOG #ifdef USE_FOG
fogDepth = -mvPosition.z; fogDepth = length(mvPosition);
#endif #endif
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册