public:t-gede-16-1:lab7
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:t-gede-16-1:lab7 [2016/03/03 10:10] – [Lab Project] marino | public:t-gede-16-1:lab7 [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 234: | Line 234: | ||
// We passed in the light and camera NodePaths and get their model space coordinates | // We passed in the light and camera NodePaths and get their model space coordinates | ||
// here through the " | // here through the " | ||
- | // The w component of the mspos_light indicated | + | // The w component of the mspos_light indicated |
- | // So you must check weather | + | // So you must check whether |
if( mspos_light.w == 1.0) { | if( mspos_light.w == 1.0) { | ||
l_L = normalize(mspos_light.xyz - vtx_position.xyz); | l_L = normalize(mspos_light.xyz - vtx_position.xyz); |
/var/www/cadia.ru.is/wiki/data/attic/public/t-gede-16-1/lab7.1456999843.txt.gz · Last modified: 2024/04/29 13:32 (external edit)