Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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:
True, during the day

 

False, during the day:

False, during the day:

 

True, at night:

True, at night

 

False, 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==

fence_face_cross.png.5b2428e508723c62cc19f8ac7ce47ff5.png

Edited by FishBoneEK

  • 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!

  • 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?

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 by lupicus

  • 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.