Search found 372 matches

by alberto_lara
Mon May 11, 2020 5:52 pm
Forum: Games and Creations
Topic: Sassy Snake: an adult, art-promoter, retro-style Video Game for PC, Mac and Linux
Replies: 9
Views: 15576

Sassy Snake: an adult, art-promoter, retro-style Video Game for PC, Mac and Linux

Hey guys, so I've been working in this game which has adult content and I'm not sure if this is allowed here (I'm relying in rule #5 in here but it does not explicitly says that adult/sexual content is allowed, so please let me know). https://i.postimg.cc/GmpWcPWd/Screen-Shot-2020-05-05-at-3-30-51-P...
by alberto_lara
Thu May 07, 2020 11:28 pm
Forum: Support and Development
Topic: Looking for a dithering shader
Replies: 8
Views: 6866

Re: Looking for a dithering shader

Ah, right, I missed that! I guess I'll have to apply the dithering in the file image then and just draw it without shaders. Thanks a lot.
by alberto_lara
Thu May 07, 2020 10:52 pm
Forum: Support and Development
Topic: Looking for a dithering shader
Replies: 8
Views: 6866

Re: Looking for a dithering shader

To be precise, what I need it's a shader to take an image and apply an 8 bit color (so I need 256 colors) dithering (either Floyd–Steinberg or positioned). Edit: actually, I'd like to implement the Floyd–Steinberg method in the shader logic. Edit 2: I'm currently looking at this to see if I can pull...
by alberto_lara
Thu May 07, 2020 10:43 pm
Forum: Support and Development
Topic: Looking for a dithering shader
Replies: 8
Views: 6866

Re: Looking for a dithering shader

That works great! what if I want to have more colors? does that mean more gray tones in the pattern?
by alberto_lara
Thu May 07, 2020 9:45 pm
Forum: Support and Development
Topic: Looking for a dithering shader
Replies: 8
Views: 6866

Re: Looking for a dithering shader

Yes, but I also want to apply the dithering effect, not just reduce the colors, this is what I have so far (based on pseudo code here ) vec4 effect(vec4 color, Image texture, vec2 texture_coords, vec2 screen_coords) { vec4 pixel = Texel(texture, vec2(texture_coords.x, texture_coords.y)); vec4 oldPix...
by alberto_lara
Thu May 07, 2020 6:52 pm
Forum: Support and Development
Topic: Looking for a dithering shader
Replies: 8
Views: 6866

Looking for a dithering shader

Hi, so I need a dithering shader and I understand I need to use a mask/pattern along with it. I've been playing around with this one here but no luck so far. Any ideas on this? I also tried to port this one but I'm not really good at shaders.

Thanks a lot.
by alberto_lara
Thu May 07, 2020 6:47 pm
Forum: Support and Development
Topic: How would I make a pixel dithering pattern shader?
Replies: 3
Views: 4287

Re: How would I make a pixel dithering pattern shader?

How can you make this shader to output more colors? I'm playing around with it but no luck so far.
by alberto_lara
Sun Apr 26, 2020 8:04 pm
Forum: Support and Development
Topic: [Solved] Strange error with field
Replies: 3
Views: 2212

Re: Strange error with field

That did the trick, how could I forget about those characters.. Thanks a lot.
by alberto_lara
Sun Apr 26, 2020 6:20 pm
Forum: Support and Development
Topic: [Solved] Strange error with field
Replies: 3
Views: 2212

[Solved] Strange error with field

So I'm creating a small GUI library and I'm running out of ideas on a Lua-level error I'm getting, and this is pretty basic stuff, that's the weirdest thing. https://i.postimg.cc/0NzDbwhJ/Screen-Shot-2020-04-26-at-11-12-55-AM.png The code is behaving like if I'm setting something like: obj.x = 123 a...
by alberto_lara
Sat Apr 25, 2020 1:22 am
Forum: Support and Development
Topic: [Solved] Help with shaders in 11.3
Replies: 3
Views: 2876

Re: Help with shaders in 11.3

Code: Select all

#define _tex0_ MainTex
did the trick, thanks a lot!