Shadows on OBJ Jitter Models
Jul 17 2018 | 12:04 pm
I quite new to Max and am trying to become familiar using jitter. Currently I'm using OBJ files through jitter and I'm wanting to cast shadows of a 3D model by a light source. Any ideas?
- Jul 17 2018 | 2:07 pmHi Connor, here's a starter:
- Jul 17 2018 | 11:18 pmFantastic! I'll implement this now! Let you know how it goes.
- Jul 18 2018 | 1:57 amChoice, Patch works great. However I get a crash. Im using jit.gl.render instead of jit.world. So whenever I enable a light with "@shadows 1" it crashes the patch. My Max log consists of stack underflow.Any ideas?
- Jul 18 2018 | 5:46 pmplease post your patch
- Jul 19 2018 | 12:15 amTake a look, let me know what you think. I think this is partly because I'm using a matrix output to affect the triangle polygons. This could be the issue?
- Jul 19 2018 | 3:31 pmdon't use jit.gl.render for drawing, instead use jit.gl.mesh (i know our material is outdated in this regard)
- Jul 20 2018 | 1:46 amWooo! Cheers Rob you have fixed my problem!
- Oct 14 2021 | 10:50 amis there a way to maintain the shadow rendition on a surface materialized with manual heightmap_modes? A jit.gl.mesh seems to only support shadows on its surface when operating @auto_normals 1, using manual heightmaps and normalmaps on an attached jit.gl.material makes the shadows disappear. Any flag I can tick perhaps? Appreciated!
- Oct 14 2021 | 2:39 pmnot currently but there is an open feature request for this functionality and I hope to look into it soonish
- Oct 17 2021 | 7:52 pmThank you Rob, looking forward to it