Posted July 9, 20214 yr Forge: forge-1.16.4-35.1.4-mdk I've been working on custom models of a new fence recently. But I have met with a problem, that the fence's brightness looks good during the day, but too bright at night. Perhaps the brightness somehow doesn't change via time? (Just a guess of course) I've been searching solutions for this issue for a while, and I found that it might be related with option experimentalForgeLightPipelineEnabled, so I made some comparation: true or false, and during day or at night. True, during the day: False, during the day: True, at night: False, at night: In addition, the model is built with blender 2.90. I'm pretty new to blender, so not sure whether it is caused by some wrong properties in blenders. Texture is edit with GIMP 2.10.14. Also, you might have noticed that the texture displayed on the face of the fence is different from the texture in file. Indeed it's also a issue need to be solved, but yet it's another different issue, so I put it in another thread. ==Code== bcp.java CustomShapeFence.java HoleyFenceExtension.java HoleyFenceNode.java ==Blockstates== holey_fence_node.json holey_fence_extension.json ==Models== holey_fence_node_post.json holey_fence_node_post.obj holey_fence_node_post.mtl holey_fence_node_side.blend holey_fence_node_side.json holey_fence_node_side.obj holey_fence_node_side.mtl holey_fence_extension_post.json holey_fence_extension_post.obj holey_fence_extension_post.mtl holey_fence_extension_side.blend holey_fence_extension_side.json holey_fence_extension_side.obj holey_fence_extension_side.mtl ==Textures== Edited July 9, 20214 yr by FishBoneEK
July 10, 20214 yr I believe one fix would be to add "ambientToFullbright": false, in the obj model json files
July 10, 20214 yr Author 1 hour ago, lupicus said: I believe one fix would be to add "ambientToFullbright": false, in the obj model json files Many thanks! This worked well!
July 10, 20214 yr Author 1 hour ago, lupicus said: I believe one fix would be to add "ambientToFullbright": false, in the obj model json files Between, I would like to know more about json options like these. Where may I learn about them?
July 10, 20214 yr Not sure if they are documented somewhere, but I found these in ObjLoader#read You can find other loaders in ModelLoaderRegistry#init, then follow to their read method for their options. Edited July 10, 20214 yr by lupicus
July 11, 20214 yr Author 20 hours ago, lupicus said: Not sure if they are documented somewhere, but I found these in ObjLoader#read You can find other loaders in ModelLoaderRegistry#init, then follow to their read method for their options. Thanks!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.