XML:ONLV: Difference between revisions

383 bytes added ,  21 March 2013
m
env_shade completely overwrites vertex shading
mNo edit summary
m (env_shade completely overwrites vertex shading)
Line 500: Line 500:
* "Shaded" let you see the illumination only.
* "Shaded" let you see the illumination only.
* "Textured" let you see the textured object with illumination and vertex shading.
* "Textured" let you see the textured object with illumination and vertex shading.
'''env_shade'''
If you use env_shade use it with caution. It completely overwrites the vertex shading.
# BSL command
# env_shade obj_id obj_id R G B
# examples
env_shade 7 7 # object 7 will be black
env_shade 7 7 0 0 0 # object 7 will be black
env_shade 7 7 .31 .999 .5 # object 7 will be quite green
env_shade 7 10 1 1 1 # object 7, 8, 9, 10 lose all their shading




8,452

edits