# 3D darkness

**URL:** <https://forum.makecode.com/t/3d-darkness/18364>\
**Category:** Help\
**Created:** [March 9, 2023, 4:18pm UTC](https://forum.makecode.com/t/3d-darkness/18364 "2023-03-09T16:18:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dodec](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dodec/32/20281_2.png) [@Dodec](https://forum.makecode.com/u/Dodec)\
**Post date:** [March 9, 2023, 4:18pm UTC](https://forum.makecode.com/t/3d-darkness/18364/1 "2023-03-09T16:18:48Z")

</div>

Can someone tell me how to make 3d darkness

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [March 9, 2023, 5:28pm UTC](https://forum.makecode.com/t/3d-darkness/18364/2 "2023-03-09T17:28:56Z")

</div>

In raycasting?

I just recently made (and updated) a mod to the raycasting extension (It uses a grayscale color palette). Here it is:  
kiwiphoenix364/pxt-raycasting-mod-grayscale  
For more info, check this post and scroll down:

> [@Raycasting 3D render -- Blocks Edition](https://forum.makecode.com/t/raycasting-3d-render-blocks-edition/12921/209):
>
> @AqeeAqee I made a version of your extension (I hope its ok to post it here) that uses the grayscale color palette, and has a nice fade-in effect to objects while preserving textures! It was made in inspiration by the game that @richard is making in the livestream, and I figured it could be expanded so as to not take up like 15 tiles but instead render at runtime! (sprites not supported in the effect) The extension is: kiwiphoenix364/pxt-raycasting-mod-grayscale I made a test project (only us…

---

<div class="post-metadata">

**Author:** ![Dodec](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dodec/32/20281_2.png) [@Dodec](https://forum.makecode.com/u/Dodec)\
**Post date:** [March 9, 2023, 6:13pm UTC](https://forum.makecode.com/t/3d-darkness/18364/3 "2023-03-09T18:13:04Z")

</div>

Thanks
