Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Announcements and Showcase
Fade any 3D Object

just_in_case
Moderator
Quote
2021-07-19 17:24:28

Hey guys just posted another nice shader action that allows you to fade-in or fade-out any 3D object with additional functions like
auto-deletion of a node when fades out, execute any action after the fading process is complete, controllable speed for fading.

As always you can download the extension from my website
Https://neophyte.cf

You can watch the usage video here on my YouTube channel to understand how to use the shader.
https://www.youtube.com/watch?v=...

Hope you guys find this shader very useful. This feature was requested by many of you.

Also, we are just 7 members away from completing the 100 members count on our Discord server.

So if anyone who hasn't joined the server yet and is interested can hop into the server here:-

https://discord.gg/RKcq89S7uA


rolevix
Registered User
Quote
2021-07-20 09:28:04

Awesome! That's what i need! :D


Newbee
Guest
Quote
2021-07-20 10:41:20

Wow, great action plugin, many thanks!!!


smnmhmdy
Registered User
Quote
2021-07-20 18:11:42

I can't thank you enough for this vazahat, this is what I wanted for a long time!


just_in_case
Moderator
Quote
2021-07-20 19:31:20

I am glad that you guys find this action useful😇


aiming_bullets
Guest
Quote
2021-07-21 04:59:58

Wow, thanks a lot for this, and the color replacing action, I wanted color switcher for long time!


Robo
Guest
Quote
2021-07-21 08:14:21

Nice one 'just_in_case' - I'm quite sure I will be able to use this one in my game.

It only work for 3D objects but skyboxes are also supported which is nice - can be used to fade in different weather systems/arora's etc


hadoken
Guest
Quote
2021-07-21 09:27:53

@just_in_case

After finally finding the time to give it a try I would also like to congratulate and thank you for this great add-on! You are really hardworking to help CC getting better and better...


just_in_case
Moderator
Quote
2021-07-21 09:58:23

thanks all for such nice feedback, I am happy that it is useful for you.


bob
Guest
Quote
2021-07-25 03:52:15

Thanks! for sharing.


Arthur
Guest
Quote
2021-07-25 21:00:00

Very good are you a developer of Coppercube? Thx for sharing.


Robo
Guest
Quote
2022-02-01 10:07:53

Hey 'just_in_case', Im trying to understand how the the shader action works here as there is no registered function to make it run on every frame like a typical action extension does nor run on every xxx ms or anything yet the shader works over time to fade in/out objects taken from the 'myShaderCallBack' function...

what's going on here ? as i want to make my own shader to both fade in and out until fully faded out...

running on ".prototype.execute" typically just runs once only....

I have noticed the shader continues to run even when finished on fade in or out unless you make invisible the object holding the fade extension...


hadoken
Guest
Quote
2022-02-01 11:21:06

Hey @Robo & everyone,

with the teaching and friendly support of @just_in_case on the topic of HLSL shaders I have already managed to create a nice working behavior for dynamically controlling brightness and alpha transparency of objects by changing corresponding CopperCube variables. If your interested, I could post it here as soon as I'm getting back to my PC ...

Cheers!


Robo
Guest
Quote
2022-02-01 12:43:21

sure hadoken, will be interested to take a look...

Tonight after few hours also managed to get a variable controlled alpha shader based on the 'just_in_case'' shader.
It fades in and out to any amount dynamically according to variable input...runs well.

I notice the shader always runs once started and cant be stopped so is this a potential performance issue with too many running all the time ?....I will post my version also.

With other methods the registered function can be stopped but not this one it seems..


just_in_case
Moderator
Quote
2022-02-01 13:19:09

@Robo, everything that's inside the shader callback and the shader itself runs every frame afaik, and nope I don't think the shaders will affect the performance even if you use them on too many objects, Regarding the use of Coppercube variable to control the parameters, then all of my shaders can be modified to use Variables to control them during runtime, but if you are not scripting then you can simply reassign the shader to the object with a different value and it will overwrite the previous shader, that's the reason I don't have added variable controlled parameters in my shaders.

I am glad that these shaders are useful to you guys, and I am sure you will come up with something great with them. If CC would have provided a little bit more control for the shaders, then we could have created many amazing FX and materials. I really wish if custom-created materials can be applied in the editor to see the effect instantly rather than testing the exe, each time you tweak the shaders parameter. It took me half day to adjust some shaders in one of my projects and I am still setting it up to get the desired results.

@Hadoken, I am willing to see your shader as well, Glad that my work has been of any use to you.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact