Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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. |
||||
|
Look forward to the update! |
||||
|
Great update! Also, please remove those debug visual windows for depth shaders, :) |
||||
|
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. |
||||
|
Latest video here: https://www.youtube.com/watch?v=4mXvZmUY5WA Get on itchio here: https://robo25.itch.io/coppercube-apis-version-2 |
||||
|
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 ?? |
||||
|
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.... |
||||
|
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) |
||||
|
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. |
||||
|
Any one have a demo of this working that they can share ? thanks. |
||||
|
'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. |
||||
|
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. |
||||
|
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. |
||||
|
I will give it another go then, thanks. |
||||
|
|