mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
multitexture
This commit is contained in:
parent
db3ab1f6ba
commit
7a33e8ddb1
@ -2242,7 +2242,8 @@ do_issue_texture() {
|
|||||||
// This texture matrix, applied on top of the texcoord
|
// This texture matrix, applied on top of the texcoord
|
||||||
// computed by D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR,
|
// computed by D3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR,
|
||||||
// approximates the effect produced by OpenGL's GL_SPHERE_MAP.
|
// approximates the effect produced by OpenGL's GL_SPHERE_MAP.
|
||||||
LMatrix4f sphere_map(0.33f, 0.0f, 0.0f, 0.0f,
|
static const LMatrix4f sphere_map
|
||||||
|
(0.33f, 0.0f, 0.0f, 0.0f,
|
||||||
0.0f, 0.33f, 0.0f, 0.0f,
|
0.0f, 0.33f, 0.0f, 0.0f,
|
||||||
0.0f, 0.0f, 1.0f, 0.0f,
|
0.0f, 0.0f, 1.0f, 0.0f,
|
||||||
0.5f, 0.5f, 0.0f, 1.0f);
|
0.5f, 0.5f, 0.0f, 1.0f);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user