Skip to content

Two volume terrain issues #6

Description

@Belsnickle

In my project I am using the Volume component of Ogre. I ran into two issues with Caelum.

  1. Fog color of Caelum is grey.

  2. At night the sky color is the same blue sky as daytime. Also the starfield never shows up. I traced this to the following code:

mShaderGenerator->invalidateScheme(Ogre::RTShader::ShaderGenerator::DEFAULT_SCHEME_NAME);
mViewport->setMaterialScheme(Ogre::RTShader::ShaderGenerator::DEFAULT_SCHEME_NAME);

Removing these lines gives me a night time experience like in the CaelumDemo, however the terrain is without texture.

No fog isn't a game breaker. No texture on my terrain is. I know Caelum was developed with the legacy terrain system in mind. I would like to add support for the Volume component of Ogre. Any advice would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions