-
Notifications
You must be signed in to change notification settings - Fork 22
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
Material diffuse color export #199
Comments
Hi Orhan, Actually material exporting is not reliable between 3D software and game engines because of those software use self shaders for rendering. So same material values can be showed very different on each of them. For that reason we just export texture for materials. If you even would export color information correctly, you would change that information on cryengine material editor in the name of satisfying result. Are you sure about that color exporting? Are you have a specific reason for diffuse color? |
Hi feedbackex, I use blender renderer and I know It will look different in the engine, but less different with correct diffuse and less fiddling in the material editor. I first saw #30 in the issue list. It talks about multiplying diffuse value with diffuse intensity. So, I thought it must be of importance. I'm relatively new to game development, doing tests, playing with things and all, and I notice that textures are mandatory (at least in cryengine). So, I created a white, noisy texture for my test models and using diffuse I make variations. Also, it could be a great way of using less textures for similar surfaces and memory optimization. Anyway, It wouldn't hurt to export actual values instead of constant 0.3, as currently they are not used because textures, by default, has %100 contribution, if I get it right. Thanks, Orhan |
I have understood your aim @orhanod . I will be interested in that at my convenient time. |
Cryblend has no any bug about writing color information on dae file. But CryEngine resource compiler do not process color information for material. Therefore, we must directly write MTL file rather than in DAE like Maya or 3dsMax, also we may create a different menu to export material file again like Maya and 3dsMax. I have transfered that issue to #211 |
Hi,
I can't seem to export material diffuse colors (probably others too) properly. I have several objects with different diffuse colors in a blender file, but all of them have exactly "0.3,0.3,0.3" as diffuse setting in exported .mtl file.
P.S. You have to set texture color contribution to less than 1 to see diffuse color affecting the object color.
Thanks,
Orhan ODABAŞI
The text was updated successfully, but these errors were encountered: