Skip to content

Commit 5e5a77d

Browse files
committed
Add cautions about Cg being deprecated
1 parent 56a4ae7 commit 5e5a77d

File tree

6 files changed

+24
-0
lines changed

6 files changed

+24
-0
lines changed

programming/shaders/cg-shader-tutorial/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Cg Shader Tutorial
44
==================
55

6+
.. caution::
7+
8+
Support for Cg shaders will be deprecated in an upcoming version of Panda3D.
9+
610
Cg Shader Tutorials
711
-------------------
812

programming/shaders/cg-shader-tutorial/part-1.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Cg Tutorial Part 1
44
==================
55

6+
.. caution::
7+
8+
Support for Cg shaders will be deprecated in an upcoming version of Panda3D.
9+
610
Cg Tutorial Part 1: The Baseline Panda App
711
------------------------------------------
812

programming/shaders/cg-shader-tutorial/part-2.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Cg Tutorial Part 2
44
==================
55

6+
.. caution::
7+
8+
Support for Cg shaders will be deprecated in an upcoming version of Panda3D.
9+
610
Cg Tutorial Part 2: The Simplest Shader
711
---------------------------------------
812

programming/shaders/cg-shader-tutorial/part-3.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Cg Tutorial Part 3
44
==================
55

6+
.. caution::
7+
8+
Support for Cg shaders will be deprecated in an upcoming version of Panda3D.
9+
610
Cg Tutorial Part 3: The Simplest Useful Shader
711
----------------------------------------------
812

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
List of Possible Cg Shader Inputs
44
=================================
55

6+
.. caution::
7+
8+
Support for Cg shaders will be deprecated in an upcoming version of Panda3D.
9+
610
In many cases, it is desirable to access information from the render state or
711
from the 3-D transformation of the node that is currently being rendered.
812
Instead of having to pass all this information manually, it is possible to name

programming/shaders/shader-basics.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ additional parameter, following the fragment shader.
139139
Cg Shaders
140140
----------
141141

142+
.. caution::
143+
144+
Support for Cg shaders will be deprecated in an upcoming version of Panda3D.
145+
142146
A Cg shader must contain procedures named ``vshader()`` and ``fshader()``; the
143147
vertex shader and fragment shader respectively. If a geometry shader is used,
144148
then it must also contain a procedure named ``gshader()``.

0 commit comments

Comments
 (0)