Good morning at the time i'm writing this. I've been doing test runs on your shader and it came to my attention that bokeh line of transforms aren't playing well with my version of renpy. I've tried several debugging methods like isolation, using different structures, and looking into the code itself. None of them seem to address the two main errors (tuple out of range and faulty operand). I surely hope this isn't a me thing and just the shaders being strange but from the two machines I tested it on, both yielded the same results.
Here's the error (which is new? said something different before):
I'm sorry, but an uncaught exception occurred. While running game code: File "renpy/gl2/gl2shader.pyx", line 342, in renpy.gl2.gl2shader.Program.draw KeyError: 'a_tex_coord' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "game/script.rpy", line 25, in script e "Did you change the name and save directory of the game in options.rpy?" File "renpy/gl2/gl2draw.pyx", line 1041, in renpy.gl2.gl2draw.GL2Draw.draw_screen File "renpy/gl2/gl2draw.pyx", line 1780, in renpy.gl2.gl2draw.draw_render File "renpy/gl2/gl2draw.pyx", line 1719, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File "renpy/gl2/gl2draw.pyx", line 1719, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File "renpy/gl2/gl2draw.pyx", line 1719, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one [Previous line repeated 6 more times] File "renpy/gl2/gl2draw.pyx", line 1619, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File "renpy/gl2/gl2draw.pyx", line 1551, in renpy.gl2.gl2draw.GL2DrawingContext.draw_model File "renpy/gl2/gl2shader.pyx", line 346, in renpy.gl2.gl2shader.Program.draw renpy.gl2.gl2shader.ShaderError: Shader MakeVisualNovels.Bokeh+renpy.geometry+renpy.solid requires attribute a_tex_coord, but it is not in the mesh. -- Full Traceback ------------------------------------------------------------ Traceback (most recent call last): File "renpy/gl2/gl2shader.pyx", line 342, in renpy.gl2.gl2shader.Program.draw KeyError: 'a_tex_coord' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "game/script.rpy", line 25, in script e "Did you change the name and save directory of the game in options.rpy?" File "renpy/ast.py", line 2915, in execute Say.execute(self) ~~~~~~~~~~~^^^^^^ File "renpy/ast.py", line 991, in execute renpy.exports.say(who, what, *args, **kwargs) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "renpy/exports/sayexports.py", line 129, in say who(what, *args, **kwargs) ~~~^^^^^^^^^^^^^^^^^^^^^^^ File "renpy/character.py", line 1543, in __call__ self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "renpy/character.py", line 1198, in do_display display_say(who, what, self.do_show, **display_args) ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "renpy/character.py", line 888, in display_say rv = renpy.ui.interact(mouse="say", type=type, roll_forward=roll_forward) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "renpy/ui.py", line 304, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "renpy/display/core.py", line 2216, in interact repeat, rv = self.interact_core( ~~~~~~~~~~~~~~~~~~^ preloads=preloads, ^^^^^^^^^^^^^^^^^^ ...<4 lines>... **kwargs, ^^^^^^^^^ ) # type: ignore ^ File "renpy/display/core.py", line 2887, in interact_core self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "renpy/display/core.py", line 1384, in draw_screen renpy.display.draw.draw_screen(surftree) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "renpy/gl2/gl2draw.pyx", line 1041, in renpy.gl2.gl2draw.GL2Draw.draw_screen File "renpy/gl2/gl2draw.pyx", line 1780, in renpy.gl2.gl2draw.draw_render File "renpy/gl2/gl2draw.pyx", line 1719, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File "renpy/gl2/gl2draw.pyx", line 1719, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File "renpy/gl2/gl2draw.pyx", line 1719, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one [Previous line repeated 6 more times] File "renpy/gl2/gl2draw.pyx", line 1619, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File "renpy/gl2/gl2draw.pyx", line 1551, in renpy.gl2.gl2draw.GL2DrawingContext.draw_model File "renpy/gl2/gl2shader.pyx", line 346, in renpy.gl2.gl2shader.Program.draw renpy.gl2.gl2shader.ShaderError: Shader MakeVisualNovels.Bokeh+renpy.geometry+renpy.solid requires attribute a_tex_coord, but it is not in the mesh. Windows-11-10.0.26100-SP0 AMD64 Ren'Py 8.4.0.25071206 abbberation 1.0 Wed Jul 16 08:56:13 2025
Here's the code I used:
scene black show black at CreateBokeh(12.0,0.5,"add",0.05) as boke
scene black show black at Bokeh as boke
You're free to take your time as this might be the last I'll make mention of it. Have a great day and keep chuggin along.