Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi Stella! Thank you so much for making this amazing pack, I’m using it religiously in my recent and upcoming projects, it makes all the difference ;w;b I especially love Regicide and Static, it really helps bring some extra spookiness to my horror scenes!

I ran into this crash while using the Regicide shader on a mobile build (I’m using Ren’py 8.7.3, and the latest update of the shader files) - is it not compatible, or would it be possible to fix it? :o

I'm sorry, but an uncaught exception occurred.

While running game code:
ShaderError: ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: '-' : wrong operand types no operation '-' exists that takes a left-hand operand of type 'const int' and a right operand of type 'mediump float' (or there is no acceptable conversion)
ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: '*' : wrong operand types no operation '*' exists that takes a left-hand operand of type '2-component vector of mediump float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: '-' : wrong operand types no operation '-' exists that takes a left-hand operand of type 'const int' and a r

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "_layout/screen_main_menu.rpymc", line 28, in script
  File "renpy/ast.py", line 834, in execute
  File "renpy/python.py", line 1187, in py_exec_bytecode
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
  File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
  File "renpy/ui.py", line 301, in interact
  File "renpy/display\core.py", line 2218, in interact
  File "renpy/display\core.py", line 2882, in interact_core
  File "renpy/display\core.py", line 1391, in draw_screen
  File "gl2draw.pyx", line 1019, in renpy.gl2.gl2draw.GL2Draw.draw_screen
  File "gl2draw.pyx", line 1550, in renpy.gl2.gl2draw.GL2DrawingContext.draw
  File "gl2draw.pyx", line 1531, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one
  File "gl2draw.pyx", line 1531, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one
  File "gl2draw.pyx", line 1531, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one
  [Previous line repeated 4 more times]
  File "gl2draw.pyx", line 1441, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one
  File "gl2draw.pyx", line 1396, in renpy.gl2.gl2draw.GL2DrawingContext.draw_model
  File "renpy/gl2\gl2shadercache.py", line 352, in get
  File "gl2shader.pyx", line 315, in renpy.gl2.gl2shader.Program.load
  File "gl2shader.pyx", line 298, in renpy.gl2.gl2shader.Program.load_shader
ShaderError: ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: '-' : wrong operand types no operation '-' exists that takes a left-hand operand of type 'const int' and a right operand of type 'mediump float' (or there is no acceptable conversion)
ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: '*' : wrong operand types no operation '*' exists that takes a left-hand operand of type '2-component vector of mediump float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: 'assign' : implicit conversion between types not allowed in ES 2.0 
ERROR: 0:77: '-' : wrong operand types no operation '-' exists that takes a left-hand operand of type 'const int' and a r

The most recent update for the shader should address this.  If you grab it and it still doesn't work, let me know and I'll go through it again.

I have a bad habit from other languages and engines of passing interger values when it explicitly needs a float value.  Make sure if you made any changes to the transforms or shaders that any numbers, even if they're ordinarily whole numbers, are expressed as floats.  E.g 1 should be 1.0, etc.