Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Showcase / App Shader Kit (3D Shader Pack)

Author
Message
janbo
9
Years of Service
Recently Online
Joined: 10th Nov 2008
Location: Germany
Posted: 31st Aug 2018 15:12
Not sure what you mean.
What is your "layer mask" and how can it be based on a greyscale image
Quote: "But loading in via the shader still creates just a flat color"

What have you done before ?

Maybe try to get the base texture working first:
So you add your desired texture as the first texture parameter and fill the others with something else.
And a completely transparent splat-map as the last parameter.
The result should be the base texture only.
Then add a second texture id as parameter and alter the splat-map accordingly:
Just draw with red=255,Green=0,Blue=0,Alpha=0 to into the splat-map.
Now you should get two textures.

If that doesn't work something else is wrong here.
Golelorn
1
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 31st Aug 2018 15:44 Edited at: 31st Aug 2018 15:47
I am referring to the textures. I can only get the ones you provided in the example to work. I am attempting to learn how to make them in the same manner.


I don't have any problems with the splat map, and I understand how it works.

Sorry for the confusion.
Golelorn
1
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 31st Aug 2018 15:59
Oh, wow.... I am a complete idiot. I forgot to SetImageWrap on my textures... Sorry....
basicFanatic
1
Years of Service
User Offline
Joined: 7th Jun 2017
Location:
Posted: 1st Sep 2018 13:36
Hi janbo, would be super nice if this could work along with Rons VR extension. But no hurry. Right now I'm scavenging the 'Useful Community Shaders Project' thread for VR friendly shaders. Lots of broken stuff, but hidden treasures too.
nonom
User Offline
Joined: 12th Nov 2017
Playing: L2j
Posted: 6th Sep 2018 17:14
Hi @janbo. Are you planning release the water update?. Thanks

janbo wrote: "Just created the command set to setup the waves and foam.
You can alter the amplitude, length, direction, how many waves are layered over each other, the steepness and the speed of the waves.
The Waves are setup with a random parameters by Default."


http://www.nyan.cat/pirate
janbo
9
Years of Service
Recently Online
Joined: 10th Nov 2008
Location: Germany
Posted: 7th Sep 2018 14:44 Edited at: 7th Sep 2018 14:46
Quote: "Are you planning release the water update?"

Of course, but I'm not sure how to time it, I wait for TGC to let me know when it's time, until then I consider/play with other effects.
For example I want to implement a full screen edge detection(like outlines but with a threshold to detect edges)
I know it has been a long time since the last update

Edge Detection: (Ignore the values)

Attachments

Login to view attachments
nonom
User Offline
Joined: 12th Nov 2017
Playing: L2j
Posted: 7th Sep 2018 16:45
Thanks mate and keep up the good work!
http://www.nyan.cat/pirate
Icerion
User Offline
Joined: 3rd Aug 2018
Location:
Posted: 7th Sep 2018 17:18
@janbo : Are you able to release the Ocean / Sea foam shaders?

Thanks!

Login to post a reply

Server time is: 2018-09-21 20:33:08
Your offset time is: 2018-09-21 20:33:08