-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: texture mapping movement tween support #230
Changes from all commits
0ab1c61
2ab3554
2b71354
708d3b5
42cd618
fd6bd47
a689feb
25f4391
674a324
c7c5922
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,18 +22,18 @@ message PBMaterial { | |
optional float alpha_test = 2; // default = 0.5. range value: from 0 to 1 | ||
optional bool cast_shadows = 3; // default = true | ||
optional decentraland.common.Color4 diffuse_color = 4; // default = white; | ||
optional decentraland.common.TextureUnion alpha_texture = 5; // default = null | ||
optional decentraland.common.TextureUnion alpha_texture = 5; // default = null. Note that tilling and offset properties are ignored for this texture. | ||
} | ||
|
||
message PbrMaterial { | ||
optional decentraland.common.TextureUnion texture = 1; // default = null | ||
|
||
optional float alpha_test = 2; // default = 0.5. range value: from 0 to 1 | ||
optional bool cast_shadows = 3; // default = true | ||
// @deprecated Alpha textures are no longer supported on PBRMaterial and UnlitMaterial.alphaTexture should be used instead. | ||
optional decentraland.common.TextureUnion alpha_texture = 4; // default = null | ||
optional decentraland.common.TextureUnion emissive_texture = 5; // default = null | ||
optional decentraland.common.TextureUnion bump_texture = 6; // default = null | ||
|
||
optional decentraland.common.TextureUnion alpha_texture = 4; // @deprecated Alpha textures are no longer supported on PBRMaterial and UnlitMaterial.alphaTexture should be used instead. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the @deprecated comment works if you put it in the same line ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for sharing your concerns! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The About the comment, I think both, same line and previous line, forward the comment to generated code in the SDK. It's worth to confirm. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Btw, it's something that if it doesn't fit the forwarding needs, it's can be re-visited in the future without introducing breaking changes There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
optional decentraland.common.TextureUnion emissive_texture = 5; // default = null. Note that tilling and offset properties are ignored for this texture. | ||
optional decentraland.common.TextureUnion bump_texture = 6; // default = null. Note that tilling and offset properties are ignored for this texture. | ||
|
||
optional decentraland.common.Color4 albedo_color = 7; // default = white; | ||
optional decentraland.common.Color3 emissive_color = 8; // default = black; | ||
|
@@ -54,5 +54,4 @@ message PBMaterial { | |
UnlitMaterial unlit = 1; | ||
PbrMaterial pbr = 2; | ||
} | ||
|
||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not totally sure about keeping the extra info about other components here. For now, it's better to keep it than not having it at all
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea was to have that documentation for creators when working with
alpha_texture
,emissive_texture
,bump_texture
, since the tiling and offset properties would show up with the autocomplete.