Skip to content

Commit

Permalink
revert roughness export
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchange committed Aug 24, 2024
1 parent c88150b commit eed43ee
Showing 1 changed file with 44 additions and 44 deletions.
88 changes: 44 additions & 44 deletions addons/material_maker/nodes/material.mmg
Original file line number Diff line number Diff line change
Expand Up @@ -2564,21 +2564,21 @@
" externalObjects: {}",
" serializedVersion: 10",
" mipmaps:",
"\tmipMapMode: 0",
"\tenableMipMap: 1",
"\tsRGBTexture: 1",
"\tlinearTexture: 0",
"\tfadeOut: 0",
"\tborderMipMap: 0",
"\tmipMapsPreserveCoverage: 0",
"\talphaTestReferenceValue: 0.5",
"\tmipMapFadeDistanceStart: 1",
"\tmipMapFadeDistanceEnd: 3",
" mipMapMode: 0",
" enableMipMap: 1",
" sRGBTexture: 1",
" linearTexture: 0",
" fadeOut: 0",
" borderMipMap: 0",
" mipMapsPreserveCoverage: 0",
" alphaTestReferenceValue: 0.5",
" mipMapFadeDistanceStart: 1",
" mipMapFadeDistanceEnd: 3",
" bumpmap:",
"\tconvertToNormalMap: 0",
"\texternalNormalMap: 0",
"\theightScale: 0.25",
"\tnormalMapFilter: 0",
" convertToNormalMap: 0",
" externalNormalMap: 0",
" heightScale: 0.25",
" normalMapFilter: 0",
" isReadable: 0",
" streamingMipmaps: 0",
" streamingMipmapsPriority: 0",
Expand All @@ -2589,13 +2589,13 @@
" textureFormat: 1",
" maxTextureSize: 2048",
" textureSettings:",
"\tserializedVersion: 2",
"\tfilterMode: -1",
"\taniso: -1",
"\tmipBias: -100",
"\twrapU: -1",
"\twrapV: -1",
"\twrapW: -1",
" serializedVersion: 2",
" filterMode: -1",
" aniso: -1",
" mipBias: -100",
" wrapU: -1",
" wrapV: -1",
" wrapW: -1",
" nPOTScale: 1",
" lightmap: 0",
" compressionQuality: 50",
Expand All @@ -2619,29 +2619,29 @@
" platformSettings:",
" - serializedVersion: 3",
" buildTarget: DefaultTexturePlatform",
"\tmaxTextureSize: 2048",
"\tresizeAlgorithm: 0",
"\ttextureFormat: -1",
"\ttextureCompression: 1",
"\tcompressionQuality: 50",
"\tcrunchedCompression: 0",
"\tallowsAlphaSplitting: 0",
"\toverridden: 0",
"\tandroidETC2FallbackOverride: 0",
"\tforceMaximumCompressionQuality_BC6H_BC7: 0",
" maxTextureSize: 2048",
" resizeAlgorithm: 0",
" textureFormat: -1",
" textureCompression: 1",
" compressionQuality: 50",
" crunchedCompression: 0",
" allowsAlphaSplitting: 0",
" overridden: 0",
" androidETC2FallbackOverride: 0",
" forceMaximumCompressionQuality_BC6H_BC7: 0",
" spriteSheet:",
"\tserializedVersion: 2",
"\tsprites: []",
"\toutline: []",
"\tphysicsShape: []",
"\tbones: []",
"\tspriteID: ",
"\tinternalID: 0",
"\tvertices: []",
"\tindices: ",
"\tedges: []",
"\tweights: []",
"\tsecondaryTextures: []",
" serializedVersion: 2",
" sprites: []",
" outline: []",
" physicsShape: []",
" bones: []",
" spriteID: ",
" internalID: 0",
" vertices: []",
" indices: ",
" edges: []",
" weights: []",
" secondaryTextures: []",
" spritePackingTag: ",
" pSDRemoveMatte: 0",
" pSDShowRemoveMatteOption: 0",
Expand Down Expand Up @@ -2801,7 +2801,7 @@
" - _Parallax: $(expr:0.005+(0.08-0.005)*$(param:depth_scale))",
" - _QueueOffset: 0",
" - _ReceiveShadows: 1",
" - _Smoothness: $(expr:1.0-$(param:roughness))",
" - _Smoothness: $(param:roughness)",
" - _SmoothnessTextureChannel: 0",
" - _SpecularHighlights: 1",
" - _SrcBlend: 1",
Expand Down

0 comments on commit eed43ee

Please sign in to comment.