ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Announcements and Showcase
forum topic indicator Source code improvements
person icon
guest_Robbo
Guest
Quote
2026-08-27 15:13:45

Almost finished my dynamic clouds.

I have upgraded the shader compiler so it now only loads my added shaders on demand, as previously was taking nearly 800ms to compile every shader in the system on first activation.

Now it only compiles each shader as needed once which is heaps faster - no noticeable delay.

The default CC shaders will all compile now on first run of your game.

The skydome has been improved with proper directional lighting brightness on the surfaces facing the sunlight direction. It was not used before as overblown lighting but I fixed it.

I will release these updates in a few days time.

person icon
Guest NotWelcome
Guest
Quote
2026-08-28 20:52:37

Look forward to the update!

person icon
Monks
Guest
Quote
2026-08-28 23:52:51

Great update! Also, please remove those debug visual windows for depth shaders, :)

person icon
guest_Robbo
Guest
Quote
2026-09-08 14:56:02

Lastest version uploaded yesterday with no shader deugging going on either now.

Has smooth skydome lighting, compile on demand post processing, and new dynamic clouds and dynamic aurora also... enjoy.

person icon
guest_Robbo
Guest
Quote
2026-09-08 15:35:24

Latest video here: https://www.youtube.com/watch?v=4mXvZmUY5WA

Get on itchio here: https://robo25.itch.io/coppercube-apis-version-2

person icon
Guest Who
Guest
Quote
2026-09-08 16:28:50

Watched the video, the clouds and auora updates look quite impressive. Is there a demo scene of the dynamic sky and clouds included with the new update ??

person icon
guest_Robbo
Guest
Quote
2026-09-09 04:19:13

Hi Guest Who, no there is no pre-setup ccb file to run that but if if have seen any past videos they all operate the same way and very easy to run.

See the 4 Post Processing.txt file and see how to run each shader - includes both post processing and the new clouds/aurora as well.

just the usual method:

get the Root scene node,

ccbSetSceneNodeProperty(Root, "CloudsOn", true);

batta boom, it runs....

person icon
Guest Who
Guest
Quote
2026-09-09 11:28:36

Thanks, but none of it makes any sense without a demo project. what is noise texture pp1.jpg and where do I put it in the scene and what name should I call it ? is it called 'CloudsParent' ? not very clear to me. I watched the video but reading the text file is not very understandable.

NEW MESH BASED SHADERS
'CloudsOn' "CloudAlpha" float (0-1) create 'CloudsParent' parent mesh and add noise texture pp1.jpg
"CloudColor" color (R,G,B)
"CloudSpeed" float (0-1)
"CloudCover" float (0-1)
"CloudBrightness" float (0-1)
"CloudEdges" float (0-1)
'AuroraOn' "AuroraAlpha" float (0-1) create 'AuroraParent' parent mesh and add aurora texture
"AuroraSpeed" float (0-1)

person icon
Guest Who
Guest
Quote
2026-09-09 11:46:21

What is CloudsParent and AuroraParent and how do I create it like in the video ? Is it a Sky mesh, cube or sphere ? what size ?no idea ??

Looks great in hte video but I'd be surprised if anyone can get any of this to work without a demo project.

person icon
Guest Who
Guest
Quote
2026-09-09 11:48:39

Any one have a demo of this working that they can share ?
thanks.

person icon
guest_Robbo
Guest
Quote
2026-09-09 12:46:00

'CloudsParent' and 'AuroraParent' is any 3d mesh that you wont need to see so just use a flat plane 3d mesh with minimal size and triangles as no-one will ever see it.

Position it at 0,0,0 and keep it visible and use tranparent alpha with a noise texture for CloudsParent - its located in the data/images folder - "pp1.jpg"

Same thing for 'AuroraParent', only you will need a aurora texture with seamles edges at its sides. You have to get that yourself as I dont know what look you are going for plus most are copyright also. Make the bakground transparent also.

person icon
Guest Who
Guest
Quote
2026-09-09 20:33:41

Ok, I got it working with the color changing Aurora, looks nice but noticed when looking up the Aurora appears to spin into the middle like a vortex. I think you mentioned this in the video and is the dome effect from the texture wrapping. Still much more improved than the previous version.

person icon
guest_Robbo
Guest
Quote
2026-09-10 04:09:24

1. The skydome used for Aurora is half dome so the texture to look right needs to occupy the full amount of the texture - ie not stuck to the top half of the texture like some skydome textures are - easy to fix in GIMP/Photoshop, maybe even AI

2. Seeing too much Aurora too high up to fix is simple - bring everything down lower in your texture and leave a top area as fully transparent - adjust as you like to have a more realistic looking Aurora.

To keep a top area transparent and also keep the same ratio of the image you may need to add the existing aurora effect to another larger texture thats fully transparent and by default it might paste into the very middle like GIMP. Thats ok so long as you have a top area fully transparent (about 25%-30%)

Then crop and save out as you like as PNG typically.

person icon
Guest Who
Guest
Quote
2026-09-10 04:32:29

I will give it another go then, thanks.


Create reply:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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