hi all
i found this shader which is pretty cool....but if i put an alpha node in front....alpha is not blending ;(
at the moment my workaround is using a render to texture node...but maybe there is another solution?
maybe somebody can help?!
greetz
christian
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
shaderHelp
Moderator: Support
-
- Posts: 666
- Joined: 18 Jan 2012, 20:56
- Location: wuppertal
- Contact:
shaderHelp
- Attachments
-
- BlurShader.vza
- (789.22 KiB) Downloaded 371 times
Re: shaderHelp
Hi Christian,
nice shader, indeed.
To enable Alpha you need to modify the HLSL code a bit.
First Add this:
...
Beside that you maybe need to set AlphaBlending node with alpha blending parameters manually, but in my test it worked out of the box.
Regards,
Glare-Technologies
nice shader, indeed.
To enable Alpha you need to modify the HLSL code a bit.
First Add this:
Code: Select all
float Alpha
<
string SasBindAddress = "Ventuz.Material.Alpha";
>;
Code: Select all
c=c/kk;
c.w *= Alpha; //Add this line
return c;
Beside that you maybe need to set AlphaBlending node with alpha blending parameters manually, but in my test it worked out of the box.
Regards,
Glare-Technologies
-
- Posts: 666
- Joined: 18 Jan 2012, 20:56
- Location: wuppertal
- Contact:
Re: shaderHelp
wwwwwoooowwww!
and glare did it again
thx to my shader pro's!!
greetz
christian
and glare did it again
thx to my shader pro's!!
greetz
christian