How to enable pixel painting in Ogre3d

enter image description here

I am illuminating a plane with a spot of light in Ogre3D. However, the edge at the hot spot shows a zig-zag effect. It looks like plane shading is done at every vertex without any interpolation.

The result of rendering the wireframe is shown below: enter image description here

How do I enable pixel lighting in Ogre3D that can smooth out the border of the hotspot?

+3


source to share


1 answer


In current versions of Ogre (so below 2.0) there are two options:



  • Manually create the Cg / HLSL / GLSL shader and use it in the ground material.

  • Use Ogre RTSS (Real Time Shading System). Its architecture and usage are explained in this wiki article .

+3


source







All Articles