Search found 2 matches

by xLainik
Fri Jul 08, 2022 12:21 am
Forum: Support and Development
Topic: how to generate a depthmap?
Replies: 2
Views: 1882

Re: how to generate a depthmap?

When you draw your depthmap to the screen is it completely black or just very nearly completely black? The best way that I know of to check for this (aside from just squinting really hard at the screen) is to render the depthmap to the screen, take a screenshot, open said screenshot in your photo e...
by xLainik
Wed Jul 06, 2022 12:37 am
Forum: Support and Development
Topic: how to generate a depthmap?
Replies: 2
Views: 1882

how to generate a depthmap?

Hi there! I have been messing around with the g3d library ( groverburger's 3D engine ) and also learning to do some 3d shaders with it. The thing is, I'm trying to generate a depthmap. I have been using a depth canvas, but it doesn't seems to work because the output texture is just an empty black im...