Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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 |
||||
|
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 ? |
||||
|
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. |
||||
|
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 |
||||
|
Sorry not sizebox...I meant skybox |
||||
|
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😇 |
||||
|
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 |
||||
|
However... By removing fog from a specific object other then the skybox, that is very useful . |
||||
|
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 |
||||
|
Thanks @Zoo, I did created so many particles myself, but I don't suggest using them most of the time to users. |
|