Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Announcements and Showcase
Shader Blend Textures

just_in_case
Moderator
Quote
2021-02-28 15:20:13

A CoppeCube Shader (Action) to blend two different textures together. Four different blend modes are available.

• Blend Mode ADD
• Blend Mode MULTIPLY
• Blend Mode SUBTRACT
• Blend Mode DIVIDE

Ability to specify which material to change and what material type to set for the changed material. Refer to the YouTube video on detailed information and usage of the Shader(Action).

𝙎𝙝𝙖𝙙𝙚𝙧 (𝘼𝙘𝙩𝙞𝙤𝙣) :- https://neophyte.cf/shader_blend...

Do 🆂🆄🅱🆂🅲🆁🅸🅱🅴 to the channel to see more content in future.✌

https://youtu.be/kcB1BljSDgg

𝘿𝙞𝙨𝙘𝙤𝙧𝙙 𝙎𝙚𝙧𝙫𝙚𝙧:- https://dicord.gg/RKcq89S7uA

𝙉𝙚𝙤𝙥𝙝𝙮𝙩𝙚.𝘾𝙁 𝙒𝙚𝙗𝙨𝙞𝙩𝙚:- https://neophyte.cf

Hopefully you guys will find this Useful.


just_in_case
Moderator
Quote
2021-02-28 15:30:43

Link is working now.


csp-games
Guest
Quote
2021-02-28 17:56:21

Thanks for sharing. Downloaded, will look into it later on. Nice webpage, lots of well made CC tutorials. Is this your page? And is the shader for directx, opengl or webgl?


just_in_case
Moderator
Quote
2021-03-01 03:57:08

Thanks for downloading. Yeah it is written in Hlsl so it is for directx platforms. And it don't do anything special just blend 2 textures together with addition, subtraction,division and multiplication of the color of the texcoord.
Its a very basic and simple shader I find a need to create a shader like this thats why i created it. Unfortunately it don't works with material types which requires 2 layer of textures. For example normal maps, and fake reflective material.

And yeah i have been putting self made demos, tutorials and extensions to the webpage since 2018. Joined the community in 2015 and since then i have been contributing whatever little things i can provide to the community. I learned a lot about game developing and 3D stuff with coppercube and everyday i was fascinated by some cool features and things coppercube can do in few clicks while those big engines requires a lot of time in doing them.

However the renderer of the CCB is not that good as compared to those big titles. But the ease of functionality it provides to a non programmer is far better than those engines out there. I saw a person livestreaming on youtube doing the a 2D game stuff in 3 hours on unity engine, which i can create with coppercube in about 10-15 minutes with less or no bugs and better functionality.

CopperCube is very underrated as compared to its features and functionalities. It can do miracles if updated regularly with less bugs and all.

While writing the shader action I found that the property type texture doesn't work anymore. It will show the property in the action to choose a texture from but when the game is published it will simply not load the texture and throws an error in the debugging console.

I mostly prefer to do stuff for windows platform.

Regarding your Tpp camera behavior. I didn't got time to have a look into that. But somone has posted a video recently with another tpp camera behavior. If that works better than yours. Then sadly all of your efforts will go in vain. I know you have been working on this for the past few days and truely saying i was unable to provide much help. Because of language barrier. English is not my primary language and that becomes a barrier when communicating so sometimes i don't understand what people wanted to ask or do. Just like the pointerlock thing for camera. When you asked it i wasn't able to get it what you are asking about. While i was aware about the pointerlock which comes default in many in buit camera of coppercube. After reading your post in the showcasing thread then i was able to understand and i was like aaahhh so he was asking about that pointerlock.
So language i a barrier. Some issues regarding the shader of yours i am still not able to understand what do you mean by the alpha rendering doesn't work for you.

Anyways i hope you like this little shader. 😇


marcw
Registered User
Quote
2021-03-01 11:09:58

Hello Everybody,

Just_In_Case (Vazahat), thank you for offering your action-HLSL shader script.

It is a nice one and it demonstrates your excellent knowledge of CopperCube and your programming skills.

Your knowledge of English is very good.

:-)


aiming_bullets
Guest
Quote
2021-03-01 15:28:45

Great! Thanks a lot for sharing. Can you please create a Pallete Swapping texture?


just_in_case
Moderator
Quote
2021-03-01 20:43:55

@Marcw Thanks a lot for your kind words and appreciation. Hopefully i will provide more shaders or extensions for coppercube 😇

@aiming_bullets i did tried creating a pallete swaping shader but it wasn't working as expected. Am still learning shaders hopefully someday i will be able to create my own pallete swapping shader. Or maybe someone else will create it first.


Alireza
Guest
Quote
2021-03-13 16:08:24

Thank you for this nice plugin.
I tested it.
One problem:
It dont work with dynamic light material .why?


just_in_case
Moderator
Quote
2021-03-14 17:43:49

@Alireza Custom Shaders or materials will not work with each and every property maybe due to some bugs but if you want to make it work with the lights then I will try to add this Functionality to the shaders but it might take some time as am still learning Shaders properly. I can add the lighting functionality but it will lit the whole object. Attenuation will not work.

So I will update this feature in future in the above shader till then you have to use it as it is or if you know how to code shaders then you can add the functionality by programming some light vectors and all.

I will try to update this with light functionality.

Thanks!


Alireza
Guest
Quote
2021-03-15 14:57:09

Thank you for everything.


Alireza
Guest
Quote
2021-03-15 15:01:57

I'm looking for a real reflex material for the car body. Can I find it?


just_in_case
Moderator
Quote
2021-03-16 16:22:12

real reflective material for now is available for water surface and there is no way for now that you can use that material with any other object except water surface. however you can use fake reflective material or sphere map or parallax maps to create metal looking material for the car body.


DouweDabbe
Guest
Quote
2021-03-21 00:20:01

this tiny lib may come in handy for color manipulations?

https://github.com/bgrins/TinyCo...


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