[library] moonshine – Chainable post-processing shaders for LÖVE.

Showcase your libraries, tools and other projects that help your fellow love users.
azoyan
Prole
Posts: 25
Joined: Wed Dec 27, 2017 5:19 pm

Re: [library] moonshine – Chainable post-processing shaders for LÖVE.

Post by azoyan »

Hello! Thank you very much for your library.

But I have some problems with shaders on my gadgets.

1. Xiaomi Redmi Note 3 Pro (Android 6.0.1, Qualcomm Snapdragon 650 MSM8956 1800 MHz, Adreno 510)
effect godsray

Code: Select all

Error

Cannot compile pixel shader code:
Line 15: ERROR: '<': wrong operand types no operation '<' exists that takes a left-hand operand of type 'int' and a right operand of type 'uniform float' (or there is no acceptable conversion)

Traceback
[C]: in function 'newShader'
moonshine/godsray.lua:62: in function 'e'
moonshine/init.lua:81: in function 'moonshine'

2. Cube Talk 9x 16Gb (Android 4.4, MediaTek MT8392 2000 MHz, Cortex-A7, Mali-450 MP4)
effect vignette

Code: Select all

Error

Cannot compile pixel shader code:
0:11: L0001: Excpected token 'i', found 'identifier'
0:12: L0002: Undeclared variable 'v'

Traceback
[C]: in function 'newShader'
moonshine/vignette/lua:32: in function 'e'
moonshine/init.lua:81: in function 'moonshine'
This is not 100% coverage testing, just what i find.
Thank you!
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: [library] moonshine – Chainable post-processing shaders for LÖVE.

Post by togFox »

Checking if this library works for the latest love? (Will try it soon) and if it can provide a futuristic neon type glow to rich blue, yellow and red colours? I'm going for a glowing cyber punk thing and going this or something like this can help.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
User avatar
yetneverdone
Party member
Posts: 448
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: [library] moonshine – Chainable post-processing shaders for LÖVE.

Post by yetneverdone »

azoyan wrote: Thu Mar 01, 2018 9:15 pm Hello! Thank you very much for your library.

But I have some problems with shaders on my gadgets.

1. Xiaomi Redmi Note 3 Pro (Android 6.0.1, Qualcomm Snapdragon 650 MSM8956 1800 MHz, Adreno 510)
effect godsray

Code: Select all

Error

Cannot compile pixel shader code:
Line 15: ERROR: '<': wrong operand types no operation '<' exists that takes a left-hand operand of type 'int' and a right operand of type 'uniform float' (or there is no acceptable conversion)

Traceback
[C]: in function 'newShader'
moonshine/godsray.lua:62: in function 'e'
moonshine/init.lua:81: in function 'moonshine'

2. Cube Talk 9x 16Gb (Android 4.4, MediaTek MT8392 2000 MHz, Cortex-A7, Mali-450 MP4)
effect vignette

Code: Select all

Error

Cannot compile pixel shader code:
0:11: L0001: Excpected token 'i', found 'identifier'
0:12: L0002: Undeclared variable 'v'

Traceback
[C]: in function 'newShader'
moonshine/vignette/lua:32: in function 'e'
moonshine/init.lua:81: in function 'moonshine'
This is not 100% coverage testing, just what i find.
Thank you!
As far as i know the shader code is a little bit different when using it for mobile because mobile phones use a different version/subset of the opengl shading language
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests