Skip to main content

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

This is a really wonderful asset pack! I used some of the shaders in a game I made. It was really easy to create a high-quality effect, and it was really, really wonderful! However, it seems that “WhiteNoise” and “Static” do not work in the browser version and Android app version. I’m sorry if this is a problem with my environment!

(+1)

It may not be an issue with your environment.  Can you tell me what version of Ren'Py you're using?  I'll see if I can build a test version and reproduce it.

Thanks for your quick reply! The version of Ren’Py is the latest 8.3.6.25022803. I’ll paste the Static error codes below. (I got almost the same error when I used Whitenoise.)

While running game code: ShaderError: ERROR: 0:31: ‘-’ : 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:31: ‘’ : wrong operand types - no operation ’’ exists that takes a left-hand operand of type ‘mediump 3-component vector of float’ and a right operand of type ‘const int’ (or there is no acceptable conversion)

– Full Traceback ————————————————————

Full traceback: File “renpy/common/_layout/screen_main_menu.rpym”, line 28, in script python hide: File “/renpy/ast.py”, line 834, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File “/renpy/python.py”, line 1184, in py_exec_bytecode exec(bytecode, globals, locals) File “renpy/common/_layout/screen_main_menu.rpym”, line 28, in <module> python hide: File “renpy/common/_layout/screen_main_menu.rpym”, line 2011, in _execute_python_hide File “/renpy/ui.py”, line 301, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File “/renpy/display/core.py”, line 2218, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore File “/renpy/display/core.py”, line 2882, in interact_core self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn) File “/renpy/display/core.py”, line 1391, in draw_screen renpy.display.draw.draw_screen(surftree) File “gl2draw.pyx”, line 1021, in renpy.gl2.gl2draw.GL2Draw.draw_screen File “gl2draw.pyx”, line 1552, in renpy.gl2.gl2draw.GL2DrawingContext.draw File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one [Previous line repeated 6 more times] File “gl2draw.pyx”, line 1443, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1398, in renpy.gl2.gl2draw.GL2DrawingContext.draw_model File “/renpy/gl2/gl2shadercache.py”, line 352, in get rv.load() 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:31: ‘-’ : 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:31: ‘’ : wrong operand types - no operation ’’ exists that takes a left-hand operand of type ‘mediump 3-component vector of float’ and a right operand of type ‘const int’ (or there is no acceptable conversion)

Emscripten-3.1.24-wasm32-32bit wasm32 Ren’Py 8.3.6.25022803 shide 1.0

(+1)

Ah, I see the error, that's pretty easy to sort out. Give me a bit and I'll push an update.

Thanks for the update! However, I’m getting an error again. I’m recompiling by overwriting the file. It would be a big help if you could check it when you have time.

Web version

[code]

While running game code: ShaderError: ERROR: 0:31: ‘-’ : 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:31: ‘’ : wrong operand types - no operation ’’ exists that takes a left-hand operand of type ‘mediump 3-component vector of float’ and a right operand of type ‘const int’ (or there is no acceptable conversion)

– Full Traceback ————————————————————

Full traceback: File “renpy/common/_layout/screen_main_menu.rpym”, line 28, in script python hide: File “/renpy/ast.py”, line 834, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File “/renpy/python.py”, line 1184, in py_exec_bytecode exec(bytecode, globals, locals) File “renpy/common/_layout/screen_main_menu.rpym”, line 28, in <module> python hide: File “renpy/common/_layout/screen_main_menu.rpym”, line 2011, in _execute_python_hide File “/renpy/ui.py”, line 301, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File “/renpy/display/core.py”, line 2218, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore File “/renpy/display/core.py”, line 2882, in interact_core self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn) File “/renpy/display/core.py”, line 1391, in draw_screen renpy.display.draw.draw_screen(surftree) File “gl2draw.pyx”, line 1021, in renpy.gl2.gl2draw.GL2Draw.draw_screen File “gl2draw.pyx”, line 1552, in renpy.gl2.gl2draw.GL2DrawingContext.draw File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one [Previous line repeated 6 more times] File “gl2draw.pyx”, line 1443, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1398, in renpy.gl2.gl2draw.GL2DrawingContext.draw_model File “/renpy/gl2/gl2shadercache.py”, line 352, in get rv.load() 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:31: ‘-’ : 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:31: ‘’ : wrong operand types - no operation ’’ exists that takes a left-hand operand of type ‘mediump 3-component vector of float’ and a right operand of type ‘const int’ (or there is no acceptable conversion)

Emscripten-3.1.24-wasm32-32bit wasm32 Ren’Py 8.3.6.25022803 [/code]

Android version

[code] While running game code: ShaderError: 0(31) : error C7011: implicit cast from “int” to “mediump float”

– 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 1184, 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 1021, in renpy.gl2.gl2draw.GL2Draw.draw_screen File “gl2draw.pyx”, line 1552, in renpy.gl2.gl2draw.GL2DrawingContext.draw File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one [Previous line repeated 6 more times] File “gl2draw.pyx”, line 1443, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1398, 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: 0(31) : error C7011: implicit cast from “int” to “mediump float” [/code]

(+1)

Thanks, thought I had hammered out all of them but I missed a few in the other file as well. Redownload the MVNRSP1.rpy file again and try again,  Should be cleared this time.  

(1 edit) (+1)

I have confirmed that this problem has been solved in both versions! It’s so wonderful!!!!😍😍😍😍 Thank you for the quick resolution, I’m so happy! I’ll recommend this asset pack to other creators with confidence, thank you!

(1 edit) (+1)

Update 2/28/25

This is fixed now.  Update your copy of MVNRSP1.rpy and MVNTemplates.rpy and it should function normally. 

Edit: Both files need to be updated, whoops.