Skip to content

Commit 37d5a87

Browse files
Remove mention of Cg shaders
As per issue panda3d#113 I have removed mention of Cg shaders.
1 parent 9d0dfd1 commit 37d5a87

File tree

4 files changed

+13
-479
lines changed

4 files changed

+13
-479
lines changed

programming/shaders/index.rst

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ The following sections will tell you about how to do that in Panda3D.
6363

6464
shader-basics
6565
list-of-glsl-inputs
66-
list-of-cg-inputs
6766
coordinate-spaces
6867
known-shader-issues
6968
shader-generator

programming/shaders/known-shader-issues.rst

-18
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,6 @@ The simple solution is to upgrade your GLSL shaders. We recommend upgrading to
2121
at least GLSL 3.30. Panda3D's shader compiler can automatically convert the
2222
shaders back to an older GLSL version if the driver does not support GLSL 3.30.
2323

24-
Problem: Poor Support for Cg Shaders
25-
------------------------------------
26-
27-
*Problem:* Some syntax of NVIDIA Cg shaders is poorly recognized.
28-
29-
*Workaround:* Since the proprietary NVIDIA Cg Toolkit is deprecated and not
30-
available for some platforms, Panda3D 1.11 replaces it with a new compiler.
31-
This compiler is provided as a best-effort attempt to retain backward
32-
compatibility with existing shaders, but it is not as good as the Cg Toolkit.
33-
Support for some language features may be flaky. Generally, it is possible to
34-
fudge the shader so that it will compile, but we recommend writing your shaders
35-
in GLSL 3.30 instead going forward.
36-
37-
If you do find a shader that used to compile with the Cg Toolkit but no longer
38-
compiles with the new compiler, please file an issue on the issue tracker:
39-
40-
https://github.com/panda3d/panda3d/issues/new?assignees=&labels=&template=bug.md
41-
4224
Problem: Untested/Unfinished DirectX Support
4325
--------------------------------------------
4426

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

-351
This file was deleted.

0 commit comments

Comments
 (0)