fog with plsm2

gedimaster

25-10-2005 03:15:18

hi, i've experimented plsm2 with various fog and sky settings in ogre:

1. when i use skydome, the terrain "disappears" and the entire scene is washed out white. various fog type and distances are used but the same result happened.

2. when i use skyplane, i could see terrain and sky but within the fog range, terrain look "dark" instead of foggish/whitish... strange

my question is has anyone tried setting up fog with plsm2 and get decent results?

tuan kuranes

25-10-2005 07:51:45

be sure not to use Vertex compression or hardware moprhing or any vertex/pixel shaded texture modes. if you use it, you have to code your own fog handling in those.

gedimaster

25-10-2005 09:07:41

what if i want to create some volume fog effect? say a bounded volume fog, do i still have to code any fog parameters into the terrain shader?

tuan kuranes

25-10-2005 09:15:42

no, as bounded volume fog are done using shaders.