Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
How to have two overlapped textures on one object?

Alireza
Guest
Quote
2021-03-20 15:26:52

For example :
We have a wall that has a certain texture and we want to add a transparent logo texture to it. Without creating a separate surface for the second texture. In other words, have two textures on the same surface at the same time. Is this possible?


marcw
Registered User
Quote
2021-03-21 18:53:21

Hello Alireza,


I am currently busy with a CopperCube's project based on my car "copperghini".
I share that low poly model for free and for any purpose.
This is the link (secured and anonymous) to my OneDrive :
https://1drv.ms/u/s!AjokN1FU3jK1...

(a very early version of my project is stored there and I think it will take a long time before I'll be able to animate correctly that car ... I am patiently studying CopperCube.)

Inside the main directory you can find a sub-directory "2021-03-18- CopperGhini Final Version" and this one also contains a sub-directory "CopperGhini-maps-4K".

In that sub-directory, you can find files with the extension .pdn. They were created with the free painting software "Paint.net".

If that software is not already installed on your computer, then here is a secured link to download it : https://www.moosoft.com/software....

Placing a logo on a texture is very easy with Paint.net.

For that purpose, you create an image (or you load an existing one) in a new project in Paint.net.

After that, you add a new layer on that image.
With the tool "paint bucket" you fill that layer with a fully transparent color in this way :
In the "Color" tool, extended when you click on its "more" tab, Select the fully "white" color (RGB values = 255,255,255).
Set the "Opacity - alpha" value equal to zero.
Finally replace the default white color of the layer by that fully transparent color with the "paint bucket" combined with the "Blending Mode" set to "overwrite" <- (see contextual option of the tool. the default setting appears with the "normal" value.)

Then you place your logo in that layer.

My video tutorial (no sound included, because I've no microphone) is available during 30 days on Movavi Cloud :

If you want, you can download it (MP4 - 159 MB - 7min32sec) :
http://cloud.movavi.com/show/MTt...

Thank you for watching that tutorial. I hope it could somewhat help you.

https://onedrive.live.com/?cid=B...

:-)


just_in_case
Moderator
Quote
2021-03-22 14:50:22

or you can simply use my shader action to blend 2textures together and can use the multiply as blending mode. But if you are planning to use dynamic light then it is not recommended to use the shader action.


Alireza
Guest
Quote
2021-03-23 22:56:38

Thank you marcw. I watched your tutorial video. It is useful.
Also thanks , just-in-case.yes i am planinig to use dynamic light.


marcw
Registered User
Quote
2021-03-24 13:52:41

Hello Alireza and Vazahat (Just_in_case),


Alireza, you are welcome and thank you for the feedback.
I know that it is difficult to learn with an uncommented video tutorial.

Just_in_case is a pro in matter of teaching.

Shaders are a fascinating graphic solution for the digital artists and for the video games developers.
Let us hope that their usage will improve in CopperCube thanks to the advanced users experiments and to the next upgrades of the engine.



:-)


just_in_case
Moderator
Quote
2021-03-24 17:01:16

Thanks a lot for your kind words @marcw I just love to share the knowledge and to help the community, hopefully, I will be posting at least one video once a week regarding game development with coppercube I know a lot of things about ccb that It is impossible for me to cover all the things up in one video or in two. That video which I have posted about hidden features of coppercube lacks a lot of things which I have missed posting.

There are a lot of things for example coppercube uses global variables for internal textures of lightmaps and all.
hashtag internal_lightmaps(n)
here hashtag is the hashtag sign and (n) is an integer that decides which lightmap has to be used.





marcw
Registered User
Quote
2021-03-24 19:30:05

(Alizera, please forgive me for this out of topic comment addressed to Just_in_case.)


Vazahat (Just_in_case), you surely deserve my compliments.

I like your words posted in one of your threads : "So here is what's going behind the curtains" :-)

And your discovery about "[]internal_lightmaps(n)" confirms that you know a lot of CopperCube's undocumented matters.

Being opportunist and having a good intellectual appetite, I often find here some good food served by CopperCube's specialists.

:-)


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inte?national" (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