Discussions for Scenes for Version 1.2.X Fullscreen Mode here

  Foro / Todo sobre iStripper

DrDoom9
Desde en Dec 2008

224 posts
January 8
Opacity in shader

@Wyldanimal

Can you enlighten me a little as to the code in a (fairly simple) shader?

I have downloaded @Calgon Carousel_1_12, and tried to understand the shader holdname3a.fsh.
It would simplify a lot of my permanent name code which I adopted from @TheEmu many moons ago.
However, it does not appear possible for me to increase the opacity of the permanent names developed by use of the shader.

Would a different holdname shader be more amenable?
Calgon
Desde en May 2022

299 posts
January 8 (edited)
Hi

@DrDoom9

The shader holdname3a.fsh was quite possibly derived from some code from @TheEmu originally and then hacked about by me in my usual messy way.

If you want to "increase the opacity" - I assume you mean "decrease the alpha" so that the name is more transparent you could try adding the line...

gl_FragColor.a *= 0.5;

...just before the final closing bracket in the code. This will halve the alpha level of whatever is output. You could hack this "0.5" about to get the level of opacity you want from 0... completely invisible to 1... unchanged.
Calgon
Desde en May 2022

299 posts
January 8
Correction...

The original code was from @WA adapted from "goldname.fsh" :

uniform sampler2D texture0;
uniform sampler2D texture1;
uniform float u_Elapsed;
varying vec4 gl_TexCoord[];
float weight=0.14767;
// changes and additions by WyldAnimal of the totem occluding.fsh shader used
// here to make a static color clip name.

void main(void)

{
vec4 vTexCoord = gl_TexCoord[0];

vec4 occluding = texture2D(texture0, vec2(vTexCoord.x , vTexCoord.y )) ;
gl_FragColor = vec4(0.432,0.449,0.091,occluding.a);
}

DrDoom9
Desde en Dec 2008

224 posts
January 8
@Calgon
Thanks for the line of code. It works.
But I am afraid that most shader code is way beyond me!
Calgon
Desde en May 2022

299 posts
January 8
@DrDoom9

I think a lot of my mods to that code are redundant and in need of a tidy up.
Calgon
Desde en May 2022

299 posts
January 9
@DrDoom9

Here's a cleaner simpler version of holdname that I will add into future releases:

In the scene file define 4 variables for the colour and alpha level of the clipnamesprite :


clipNameSprite {
source: ClipA, 0
pos: 1230, -860, 0
scale: 0.75, 0.75
hotspot: 0.5, 0
uniform: set_r, float, 0.7
uniform: set_g, float, 1.0
uniform: set_b, float, 0.7
uniform: set_a, float, 0.1
shader: fragment, Shaders/Calgon/holdname4.fsh
}

..and the new holdname4.fsh

#version 130
uniform sampler2D texture0;
varying vec4 gl_TexCoord[];

// Bring in some uniform constants from the scene:
uniform float set_r; // Red
uniform float set_g; // Green
uniform float set_b; // Blue
uniform float set_a; // Alpha factor

void main(void)
{
vec4 vTexCoord = gl_TexCoord[0]; // Fixed function texture coordinates
gl_FragColor = texture2D(texture0, vec2(vTexCoord.x , vTexCoord.y )) ;
gl_FragColor.rgb = vec3(set_r,set_g,set_b);
gl_FragColor.a *= set_a;
}

17 lines down from 96 !
Wyldanimal
MODERADOR
Desde en Mar 2008

3764 posts
Hace 29 días (edited)
With the assistance of the Team and some of the Members
we have conducted a fairly extensive search.

Even though we do not have conclusive results
I feel there is no other conclusion that can be made.

We have lost one of our Scene contributors.
It is with a sad heart that I say goodbye to @TheEmu

Your contributions to the Scene Community will long carry on.
Socialhazard
Desde en Nov 2020

1134 posts
Hace 29 días
I'm sorry to hear that, he was a part of this for a long time as a scene contributor and sometimes commenter as well as not afraid to mix it up on the forum at times. Certainly will by remembered by me though I knew him only a little.
ComteDracula
Desde en Aug 2017

1229 posts
Hace 29 días (edited)
With the assistance of the Team and some of the Members
we have conducted a fairly extensive search.

Even though we do not have conclusive results
I feel there is no other conclusion that can be made.

We have lost one of our Scene contributors.
It is with a sad heart that I say goodbye to @TheEmu

Your contributions to the Scene Community will long carry on.

Triste nouvelle en effet.

@TheEmu a été un grand créateur et contributeur de scènes. Nous ne lui dirons jamais assez merci.

Si cela signifie son décès, je lui souahite de reposer en paix. Mes condoléances à sa famille.


Sad news indeed.

@TheEmu was a great scene creator and contributor. We can't thank him enough.

If this means his death, I wish him peace. My condolences to his family.
Calgon
Desde en May 2022

299 posts
Hace 29 días
With the assistance of the Team and some of the Members
we have conducted a fairly extensive search.

Even though we do not have conclusive results
I feel there is no other conclusion that can be made.

We have lost one of our Scene contributors.
It is with a sad heart that I say goodbye to @TheEmu

Your contributions to the Scene Community will long carry on.

@TheEmu helped so much with scene building and inspired me to build and learn, his code lives on 👍
wrightsayswow
Desde en Jul 2020

1076 posts
Hace 29 días
We have lost one of our Scene contributors.
It is with a sad heart that I say goodbye to @TheEmu
@Wyldanimal I ***** you're right. No posts since last September, having been a regular up to then.
No recent purchases of the shows either.

And as @Socialhazard said
not afraid to mix it up on the forum at times.
I was wondering what had happened to him just the other day.
RIP @TheEmu
dar2112v
Desde en Dec 2007

440 posts
Hace 28 días
It is with a sad heart that I say goodbye to @TheEmu

This is very sad news. RIP @TheEmu
willyweekly
Desde en Jul 2015

344 posts
Hace 28 días
Sad news. I hope he is at peace.
peterbanker
Desde en Jan 2009

214 posts
Hace 28 días
Sad news. I hope he is at peace.

Totally agree with @willyweekly
Alkasyn
Desde en Apr 2008

707 posts
Hace 28 días (edited)
I've often disagreed with the man, but it's a damn shame to see another one of the regulars go.

We're all bound to leave at some point, but it's always sad for the ones left behind.
EverthangForever
Desde en Oct 2009

2432 posts
Hace 5 días (edited)
Not sure what has happened to @EverthangForever he normally posts some a few times a month.

😕😧I hope he is well

He posted a comment on Rebecca Volpetti's card a couple of days ago so I assume he is OK but hasn't had time to do any new Full Screen Scenes

Hi All,
Like many others, I was deeply affected by the demise of @TheEmu who was mentor to us in so many ways. He had his good reasons for not joining Discord which I happen to agree with. The last straw for me was in February when Totem only accepted applications of Discord members as testers for new alpha ('experimental') versions of iStripper.

I understand anecdotely this policy may have since been reviewed, however I've not heard otherwise from Totem to say non Discord members are once again welcome as iStripper testers.
--
Bonjour à tous
Comme beaucoup d'autres, j'ai été profondément touché par la disparition de @TheEmu qui était notre mentor à bien des égards. Il avait ses bonnes raisons de ne pas rejoindre Discord, ce avec quoi je suis d'accord. La goutte d'eau qui a fait déborder le vase pour moi a été en février, lorsque Totem n'a accepté que les candidatures des membres de Discord en tant que testeurs pour les nouvelles versions alpha (« expérimentales ») d'iStripper.

Je comprends qu'anecdotement, cette politique a peut-être été revue depuis, mais je n'ai pas entendu le contraire de Totem dire que les non-membres de Discord sont à nouveau les bienvenus en tant que testeurs d'iStripper.
Philours
Desde en Feb 2019

1559 posts
Hace 5 días
Bonjour @EverthangForever,

Vous avez raison, nous avons perdu un grand contributeur a cette application en la personne de @TheEmu.😒
Je comprend votre désir d'éloignement, mais me réjouis d'avoir de vos nouvelles. Portez-vous bien, cher ami 😊

Hello @EverthangForever,

You are right, we lost a great contributor to this application in the person of @TheEmu.😒
I understand your desire for distance, but look forward to hearing from you. Be well, dear friend 😊
EverthangForever
Desde en Oct 2009

2432 posts
Hace 3 días (edited)
Did anyone archive or get a copy of his website ? http://www.theemusnest.eu/
I notice it has been taken down since about two days ago 😢
Wyldanimal
MODERADOR
Desde en Mar 2008

3764 posts
Hace 3 días
I made a copy of what I think was everything.
Except for the Html web pages.
so it's just the files.

https://virtuastripper.net/TheEmu/
EverthangForever
Desde en Oct 2009

2432 posts
Hace 3 días (edited)
Great, thanks a lot @WA. Its the comments in his code that are most helpful.
The html pages content is still available (in a roundabout sorta way) on the wayback machine
circa 2020 , if peeps want to find that 👍😉

No estás autorizado a participar aun

Como usuario gratuito iStripper, no se te permite responder a un tema en el foro o crear un nuevo tema
Pero podrás acceder a las categorías y conceptos básicos y ponerte en contacto con nuestra comunidad.!