Page 1 of 1

[Fixed for V0.42] Shading of flooritems

Posted: Wed Aug 02, 2006 4:33 pm
by linflas
ho, just a OT question : i wanted a more misty ambiance so i changed the shade value, but there's no difference if shade = 100 or shade = 200 with my rock (same with the grass flooritem on the right) ! i tried 50 too... is it a bug ?
ADD BITMAP_ROCK1_FRONT1 FILE=(bitmaps\rock1_front1.png) SIZE=(180,190) POSITION=(0,130) SCALINGS=(1) TRANSPARENT=(FALSE) SHADED=(TRUE)
ADD BITMAP_PLAINE_SHADE FILE=(bitmaps\plaine_shade.bmp) SIZE=(1,1) POSITION=(0,0) SCALINGS=(1) TRANSPARENT=(FALSE) SHADED=(TRUE)
SHADE.........=(BITMAP_PLAINE_SHADE,100)


Image

Posted: Wed Aug 02, 2006 4:37 pm
by George Gilbert
Not a bug as designed - the number is a percentage of the amount of shading to apply (so only valid in the range 0-100). Having said that, in retrospect, I don't see why a value in the range 100-200 shouldn't apply either (with 200 meaning that the object bitmap retains no colour information at all, it's all coloured in the shade colour).

Nice background though!

Posted: Wed Aug 02, 2006 4:40 pm
by linflas
i did that in previous versions, with shade=150, and it worked fine ! but maybe only on objects, not on flooritems ?

edit : just did a test with my rock, a barrel, a screamer and a boulder. shading over 100 is applied to the screamer and the boulder only.

Posted: Wed Aug 02, 2006 6:13 pm
by George Gilbert
Ahh - that's just a bug!

Now fixed for V0.42