Discussions for Scenes for Version 1.2.X Fullscreen Mode here

  论坛 / 关于iStripper的一切

DrDoom9
生日快乐!!
已加入 在 Dec 2008

224 发布
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
已加入 在 May 2022

299 发布
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
已加入 在 May 2022

299 发布
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
生日快乐!!
已加入 在 Dec 2008

224 发布
January 8
@Calgon
Thanks for the line of code. It works.
But I am afraid that most shader code is way beyond me!
Calgon
已加入 在 May 2022

299 发布
January 8
@DrDoom9

I think a lot of my mods to that code are redundant and in need of a tidy up.
Calgon
已加入 在 May 2022

299 发布
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
主持人
已加入 在 Mar 2008

3769 发布
April 3 (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
已加入 在 Nov 2020

1135 发布
April 3
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
已加入 在 Aug 2017

1230 发布
April 3 (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
已加入 在 May 2022

299 发布
April 3
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
已加入 在 Jul 2020

1077 发布
April 3
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
已加入 在 Dec 2007

441 发布
April 4
It is with a sad heart that I say goodbye to @TheEmu

This is very sad news. RIP @TheEmu
willyweekly
已加入 在 Jul 2015

346 发布
April 4
Sad news. I hope he is at peace.
peterbanker
已加入 在 Jan 2009

214 发布
April 4
Sad news. I hope he is at peace.

Totally agree with @willyweekly
Alkasyn
已加入 在 Apr 2008

707 发布
April 4 (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
已加入 在 Oct 2009

2432 发布
14 天 以前 (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
已加入 在 Feb 2019

1559 发布
14 天 以前
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
已加入 在 Oct 2009

2432 发布
12 天 以前 (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
主持人
已加入 在 Mar 2008

3769 发布
12 天 以前
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
已加入 在 Oct 2009

2432 发布
12 天 以前 (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 👍😉

您不允许参加!

作为iStripper 的免费用户,您不能在论坛中回答话题或创建新话题。
但您仍然可以访问基本类别并与我们的社区取得联系!