Share your FullScreen - Member Created Scenes here
Alles über iStripper
27. February 2017, 2705 antworten
I have been trying to use shaders without any real understanding of the subject, so please be kind!
I have been using the technique in the Bikini fullscreen from Totem to ripple some water.
It works OK for the water sprite.
However, I want to put a dancer behind the water and see her reflection in the water also rippled by the shaders.
Again, it works OK, but then I thought the reflection was too powerful - it didn't take into account light absorbsion or scattering -
so I tried to reduce the opacity. This did not work.
Can anyone tell me why, or what I need to do?
This is my code for the reflected ClipSprite:
texture {
id : Refraction
source : Romanesque/images/FashionStage_Water2Bump.png
wrap : repeat
}
...
clipSprite {
source : GirlFrontArch, 0 // reflection
source : Refraction, 1
pos : 35, -400, 0
standingHeight : 460
scale : -1, -1, 1
shader : fragment, Romanesque/shaders/refraction.fsh
shader : vertex, Romanesque/shaders/refraction.vsh
opacity : 0.05 // does not work!
blend : true
}