documentation of Light class Topic is solved

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


jwwalker
Goblin
Posts: 247
Joined: Thu Aug 12, 2021 10:06 pm
Location: San Diego, CA, USA
x 18

documentation of Light class

Post by jwwalker »

The description of the Light class contains this remark:

Remember also that dynamic lights rely on modifying the colour of vertices based on the position of the light compared to an object's vertex normals. Dynamic lighting will only look good if the object being lit has a fair level of tessellation and the normals are properly set. This is particularly true for the spotlight which will only look right on highly tessellated models. In the future OGRE may be extended for certain scene types so an alternative to the standard dynamic lighting may be used, such as dynamic lightmaps.

Is that remark partly or entirely obsolete? I haven't noticed any problem with a spotlight shining on a coarsely triangulated mesh.

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5429
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1337

Re: documentation of Light class

Post by dark_sylinc »

Oh yeah. Totally obsolete.

This issue would only be relevant if someone implements a shader (or Hlms implementation) that reimplements gouraud shading into OgreNext.