Skip to content
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

Regardless if I use the gui game editor or not, can materials still be rendered into the game scene? #203

Closed
Joe23232 opened this issue Oct 11, 2021 · 9 comments

Comments

@Joe23232
Copy link

I understand that rusty-editor currently only supports textures, however, I was wondering if the core of the game engine supports materials as well or is this something that is being worked on?

If it is something that is being worked on, is there an issue tracker or something where I can track the progress?

@mrDIMAS
Copy link
Member

mrDIMAS commented Oct 11, 2021

rusty-editor has full support of materials as well as the engine.

@Joe23232
Copy link
Author

@mrDIMAS You were telling me that it only supports textures and not materials though? Like I am not able to import materials from my model?

@IceGuye
Copy link
Contributor

IceGuye commented Oct 11, 2021

I believe that the engine can render materials in fbx model without any issues. You do not need to use rusty-editor. Currently I am making an open source game project without using rusty-editor.

@Joe23232
Copy link
Author

@IceGuye I understand that the rusty-editor does not support materials (only textures) in my experience, but when the entire game is compiled, then the materials is able to render?

@mrDIMAS
Copy link
Member

mrDIMAS commented Oct 12, 2021

I think it should be clarified what I mean by materials. Material is a set of shaders with some properties, that's all. You, in turn, probably mean FBX materials which is a different thing. FBX material contains a set of properties (like diffuse texture, normal, height, diffuse color, etc), currently rg3d's FBX importer is not able to fully map FBX material to engine's material. Currently it reads only textures from FBX, and ignores diffuse color. This is where it happens, you could try handle a diffuse color property there, that might be a good first PR.

@Joe23232
Copy link
Author

@mrDIMAS

currently rg3d's FBX importer is not able to fully map FBX material to engine's material.

I believe the support for materials is currently being worked on, is there some issue I can track or something?

@mrDIMAS
Copy link
Member

mrDIMAS commented Oct 31, 2021

FBX importer now supports diffuse color (fixed in #164), so I think this issues can be closed too.

@mrDIMAS mrDIMAS closed this as completed Oct 31, 2021
@Joe23232
Copy link
Author

Joe23232 commented Nov 1, 2021

@mrDIMAS That is awesome mate =D

@Joe23232
Copy link
Author

Joe23232 commented Nov 1, 2021

@mrDIMAS Can it support emissions and glossy properties or is it being worked on?

image


Can it also support models that has Blender created animations via armature bones or is this something being worked on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants