Jump to content

[1.12.2] Fixing OBJ Model Shading


AzureZhen

Recommended Posts

Hi I'm looking for some help on fixing my items defaulting shading, as by default it isn't a smooth shading. 
Here is what I mean

Spoiler


2018-11-13_15_05_24.thumb.png.1acadb9b94584f5fdc0d36bfa4c7cbfe.png

Here is what I'm trying to do (this was taking using a shader)
 

Spoiler

2018-11-28_00_38_41.png.46ed0af13b63ff3bbc94f63f36e5b33d.png

My models MTL: 
 

newmtl TEX_w2dkn07
map_Kd rcraft:items/w2dkn07


Here is its Blockstate file:
 

Spoiler



{
    "forge_marker": 1,
    "variants": {
    "type": {
		"1": {
			"model": "rcraft:tribalgrappler/tribalgrappler07l.obj"
		}
    }
	},
	"defaults" : {
	
	"transform": {
	
	"thirdperson_righthand": {
	"rotation": [ 0, 180, 0 ],
	"translation": [ -1.215, 1.02, -0.90 ],
	"scale": [ 2.30, 2.30, 2.30 ]
	},
	"thirdperson_lefthand": {
		"rotation": [ 0, 180, 180 ],
		"translation": [ -1.23, -1.27, -0.90 ],
		"scale": [ 2.30, 2.30, 2.30 ]
	},
	"firstperson_righthand": {
		"rotation": [ 0, 190, 0 ],
		"translation": [ -0.70, 0.30, -0.50 ],
		"scale": [ 1.00, 1.00, 1.00 ]
	},
	"firstperson_lefthand": {
		"rotation": [ 0, 0, 0 ],
		"translation": [ 0.00, 0.00, 0.00 ],
		"scale": [ 1.00, 1.00, 1.00 ]
	},
	"gui": {
		"rotation": [ 96, 50, 216 ],
		"translation": [ 0.50, -0.60, 0.00 ],
		"scale": [ 1.90, 1.90, 1.90 ]
	},
	"head": {
		"rotation": [ 0, 0, 0 ],
		"translation": [ 0.00, 0.00, 0.00 ],
		"scale": [ 1.00, 1.00, 1.00 ]
	},
	"fixed": {
		"rotation": [ 0, 0, 0 ],
		"translation": [ 0.00, 0.00, 0.00 ],
		"scale": [ 1.00, 1.00, 1.00 ]
	},
	"ground": {
		"rotation": [ 0, 0, 0 ],
		"translation": [ 0.60, 0.20, 0.60 ],
		"scale": [ 1.00, 1.00, 1.00 ]
	}
	}
	}
}


 

 

If you need anything else, please let me know!

Link to comment
Share on other sites

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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