BGE: Multitexture world (mist, ambient) fix
This patch fix the existing word API for mist and global ambient lighting. Add deprecated message to disableMist() Add setUseMist(enable). Reviewers: dfelinto, campbellbarton, moguri Reviewed By: moguri Subscribers: solarlune, jta, brecht Projects: #bf_blender:_next Differential Revision: https://developer.blender.org/D148
This commit is contained in:
@@ -198,9 +198,16 @@ Functions
|
||||
|
||||
Disables mist.
|
||||
|
||||
.. note:: Set any of the mist properties to enable mist.
|
||||
.. note:: Deprecated use setUseMist().
|
||||
|
||||
|
||||
.. function:: setUseMist(enable)
|
||||
|
||||
Disable or enable the mist.
|
||||
|
||||
:type enable: boolean
|
||||
|
||||
|
||||
.. function:: setEyeSeparation(eyesep)
|
||||
|
||||
Sets the eye separation for stereo mode. Usually Focal Length/30 provides a confortable value.
|
||||
|
Reference in New Issue
Block a user