mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
turn off broken lighting (untested)
This commit is contained in:
parent
783ba052d7
commit
e25f7fac4e
@ -2529,6 +2529,7 @@ apply_fog(qpFog *fog) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void CRGraphicsStateGuardian::apply_light( PointLight* light )
|
||||
{
|
||||
#if 0
|
||||
// The light position will be relative to the current matrix, so
|
||||
// we have to know what the current matrix is. Find a better
|
||||
// solution later.
|
||||
@ -2580,6 +2581,7 @@ void CRGraphicsStateGuardian::apply_light( PointLight* light )
|
||||
<< "crPopMatrix()" << endl;
|
||||
#endif
|
||||
report_errors();
|
||||
#endif
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
@ -2589,6 +2591,7 @@ void CRGraphicsStateGuardian::apply_light( PointLight* light )
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void CRGraphicsStateGuardian::apply_light( DirectionalLight* light )
|
||||
{
|
||||
#if 0
|
||||
// The light position will be relative to the current matrix, so
|
||||
// we have to know what the current matrix is. Find a better
|
||||
// solution later.
|
||||
@ -2638,6 +2641,7 @@ void CRGraphicsStateGuardian::apply_light( DirectionalLight* light )
|
||||
<< "crPopMatrix()" << endl;
|
||||
#endif
|
||||
report_errors();
|
||||
#endif
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
@ -2647,6 +2651,7 @@ void CRGraphicsStateGuardian::apply_light( DirectionalLight* light )
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void CRGraphicsStateGuardian::apply_light( Spotlight* light )
|
||||
{
|
||||
#if 0
|
||||
// The light position will be relative to the current matrix, so
|
||||
// we have to know what the current matrix is. Find a better
|
||||
// solution later.
|
||||
@ -2694,6 +2699,7 @@ void CRGraphicsStateGuardian::apply_light( Spotlight* light )
|
||||
<< "crPopMatrix()" << endl;
|
||||
#endif
|
||||
report_errors();
|
||||
#endif
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user