3Drendering example. Color doesn't change.

14 views
Skip to first unread message

хз кто

unread,
Nov 9, 2017, 12:16:08 PM11/9/17
to Kivy users support
Why does not the color of the object change in the example 3Drendering?

In the main.py file, on the line 55, I change the values, but the color doesn't change (although it should change).

What should I do?

Alexander Taylor

unread,
Nov 9, 2017, 4:10:34 PM11/9/17
to Kivy users support
The 3d rendering example uses a different shader, which doesn't contain or use Kivy's normal colour value. The Color instruction here therefore doesn't do anything. You can try to make it work by comparing the contents of simple.glsl in the example directory with Kivy's normal shaders, in kivy/data/glsl.
Reply all
Reply to author
Forward
0 new messages