Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > CopperCube Open discussion
No Fog for Skybox

just_in_case
Moderator
Quote
2021-07-26 18:28:30

Here is a shader action that will make the skybox unaffected by fog. You can download the shader from my website and from my Discord server as well.

hope someone will find this useful.

🔎︎


Download Shader from website here :- https://neophyte.cf/assets.html

Join the Discord server here, we are just 3 members away from completing the milestone of 100 members.
https://discord.gg/RKcq89S7uA


Robo
Guest
Quote
2021-07-29 13:57:45

Interesting that you can change that with a shader...cheers.

I would like to know how to fix the glitching skybox when you look at it from certain angles (nothing to do with the shader) ...I dont think there is a solution except to use a skydome instead...

anyone ?


just_in_case
Moderator
Quote
2021-07-29 14:13:13

Edit:- yeah, you need to use shaders, even if you want your skybox to look affected by fog.

you can use the shader and spehermesh of your level size with flipped vertices and transparent texture. then it will show the fog as if it is affecting the skybox. but the actual skybox will remain unaffected.

There can be other methods too, to prevent skybox from glitching when the cursor is moved without using any skydome or shaders.


Zoo
Guest
Quote
2021-08-08 23:22:15

Everyone is wrong.

You do not need shaders.

All you need to do is reduce the sizebox size by 0.1 and all fog is automatically removed. I wrote a tutorial about this a long time ago on MTM


Zoo
Guest
Quote
2021-08-08 23:22:49

Sorry not sizebox...I meant skybox


just_in_case
Moderator
Quote
2021-08-09 07:10:41

Thanks a lot Zoo, for sharing it again here, yeah, scaling skybox will reduce the amount of fog, but won't completely turn it off. Even though if you use a 0.00001 as the size for skybox, it will still show fog. What my shader does is, it completely removes the fog from any object. Not specifically the skybox. But as people were always wanting to let their skybox get unaffected by fog,I named this shader as no-fog for skybox.

Once again, thanks a lot for sharing this valueable information. People will find this useful as well😇


Zoo
Guest
Quote
2021-08-11 11:41:04

Thanks for that....

But you are wrong...

Here is an example of no fog and no clipping.

https://www.youtube.com/watch?v=KMnD16u8TW0

Skybox does not pick up fog at all...

I use this technique with some fog and bloom to create a DOF effect.

I know this 100%...I use it in all my projects.

If you make the skybox at least 0.1 the fog and clipping completely disappears...even if you have huge amounts of fog.

The skybox will always remain clear


Zoo
Guest
Quote
2021-08-11 11:43:28

However...

By removing fog from a specific object other then the skybox, that is very useful .


Zoo
Guest
Quote
2021-08-11 22:20:59

Btw.... I love what you are doing with the shaders... In any event, I saw your tutorial on particle effects and it has opened my eyes to a whole new world.

I think that what you did with the particle effects system is brilliant.

I did a few tests myself and came up with a whole load of new particle effects by using your methodology.

Very nice


just_in_case
Moderator
Quote
2021-08-12 18:14:22

Thanks @Zoo, I did created so many particles myself, but I don't suggest using them most of the time to users.


Create reply:


Posted by: (you are not logged in)


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