[EFFECT]- webglSphere+Glsl version

Share your Construct 2 effect files

Post » Tue Nov 08, 2016 2:13 pm

Well I guess I spoke too soon. The only issue now is that black colors turn transparent :(
B
35
S
17
G
17
Posts: 150
Reputation: 11,287

Post » Tue Nov 08, 2016 5:29 pm

@purplemonkey


*** Edit ... now i put the .. transparent flag 0 or 1
Try it if you have problem with black or transparent color..
So download the fx at the same place ...
Nice ... hope all issue were corrected now.. working here ;)
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5
B
54
S
20
G
23
Posts: 747
Reputation: 18,742

Post » Thu Nov 10, 2016 10:02 pm

Hello again @Gigatron I've tried the updated version. If I set "transparent" to 0 a semi-transparent sprite works as it should however black colours also seem to be transparent for some reason. If I set "transparent" to 1 the actual transparent area of the sprite is the colour black.
B
35
S
17
G
17
Posts: 150
Reputation: 11,287

Post » Fri Nov 11, 2016 12:14 pm

purplemonkey wrote:Hello again @Gigatron I've tried the updated version. If I set "transparent" to 0 a semi-transparent sprite works as it should however black colours also seem to be transparent for some reason. If I set "transparent" to 1 the actual transparent area of the sprite is the colour black.


.. can you send your sprite for testing please ?
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5
B
54
S
20
G
23
Posts: 747
Reputation: 18,742

Post » Fri Nov 11, 2016 2:52 pm

Just to quickly update anyone following this thread. Gigatron has been super patient with me and finally fixed the issue I was having. Thank you again for the help and I really appreciate the work you're doing @Gigatron!
B
35
S
17
G
17
Posts: 150
Reputation: 11,287

Post » Sun Nov 13, 2016 4:43 pm

@gigatron @purplemonkey is this transparent update public yet?
B
9
S
3
Posts: 149
Reputation: 1,262

Post » Mon Nov 14, 2016 4:50 pm

CloveltOc wrote:@gigatron @purplemonkey is this transparent update public yet?

Hi ya! It's up to @gigatron if he wants to share it publicly or not so I'll just wait for him to answer this question. We did get it working as intended however I noticed that it glitches out upon exporting a project if you're using it on an object with animations. So the issue seems to be because of sprite-sheeting.
B
35
S
17
G
17
Posts: 150
Reputation: 11,287

Post » Mon Nov 14, 2016 6:34 pm

Ok let's share this fx to public; http://gigatron3k.free.fr/html5/C2/FX/shmap.rar
This fx must be applied to 1 sprite...
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5
B
54
S
20
G
23
Posts: 747
Reputation: 18,742

Post » Wed Nov 16, 2016 1:00 pm

An update for anyone interested. I finally did get this effect to work with animations on export.

All you have to do is:
* Open sprite editor of the object you are using effect on
* Set export image format to JPG and apply to all animations (this will disable sprite-sheeting)

However if you are using semi-transparency in your animations you'll have to find your exported project folder, replace JPG images with PNG and edit "data.js" to look for ".png" instead of ".jpg" on said images.

Best of luck!
B
35
S
17
G
17
Posts: 150
Reputation: 11,287

Post » Mon Nov 28, 2016 11:00 pm

@Gigatron

How to fix this? Padding :cry:

Image
Image
B
66
S
16
G
2
Posts: 94
Reputation: 4,592

PreviousNext

Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests