Skip to content

Commit 6a7741a

Browse files
committed
panda3d 1.10.16 updates
1 parent c48cb99 commit 6a7741a

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ easiest way to deal with this is by setting your SPHINXBUILD variable something
3737
like so (adjust for the location of your Python build):
3838

3939
```
40-
set SPHINXBUILD=C:\Panda3D-1.10.15-x64\python\python.exe -m sphinx
40+
set SPHINXBUILD=C:\Panda3D-1.10.16-x64\python\python.exe -m sphinx
4141
```
4242

4343
## Editing the Documentation

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
version = '1.10'
8383

8484
# The full X.Y.Z version.
85-
release = '1.10.15'
85+
release = '1.10.16'
8686

8787
# Whether to generate Python or C++ documentation. TODO:
8888
tags.add('python')

programming/audio/3d-audio.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,9 @@ distance, you can set the drop off factor to 0.
7878
.. code-block:: python
7979
8080
audio3d.setDropOffFactor(scale)
81+
82+
.. warning::
83+
84+
If you are not using the default Z-up-right coordinate system, please make
85+
sure that you are using at least Panda3D 1.10.16, as older versions contained
86+
a bug causing the coordinates not to be converted correctly.

programming/shaders/list-of-glsl-inputs.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ any shader stage.
132132
uniform sampler2D p3d_TextureNormal[]; // default color: (0.5, 0.5, 1, 0)
133133
uniform sampler2D p3d_TextureHeight[]; // default color: (0.5, 0.5, 1, 0)
134134
uniform sampler2D p3d_TextureGloss[]; // default color: (1, 1, 1, 1)
135+
uniform sampler2D p3d_TextureEmission[]; // default color: (1, 1, 1, 1)
136+
137+
// Experimental input, new in 1.10.16, containing the metallic-roughness
138+
// texture as may be imported from a glTF file using panda3d-gltf.
139+
// The green channel contains roughness and blue contains metalness.
140+
uniform sampler2D p3d_TextureMetallicRoughness[]; // default color: (1, 1, 1, 1)
135141
136142
// New in 1.10.0. Contains the matrix generated from texture pos and scale.
137143
uniform mat4 p3d_TextureMatrix[];

0 commit comments

Comments
 (0)