TheGameCreators / GameGuruRepo

The GameGuru Repository For Community Collaboration
http://www.game-guru.com
137 stars 56 forks source link

GGMAX Bug - Render BIAS Values Not Retained #5501

Closed OldFlak closed 4 months ago

OldFlak commented 5 months ago

Render BIAS settings are not retained.

This is the case even when the BIAS values are set in the FPE

Thanks for checking :)

LeeBamberTGC commented 5 months ago

@OldFlak Can you include a small level with say the puddle object and your chosen BIAS, then attach here with a screenshot of what it should look like? I can then reproduce, see the BIAS resetting and fix this one quickly :)

OldFlak commented 5 months ago

@LeeBamberTGC - I don't think it is the importer. When you add an object which already has a custom BIAS value set in the FPE via the importer, the model comes in with that setting into the level. When you play the level, it works as expected. When you save the level, the value is retained, and works as expected. But when you close MAX and reopen it later the values are back to 0.000.

I will put a simple level together that demos this issue and the mono audio issue ( #5414 ) asap.

Thanks for checking :)

OldFlak commented 5 months ago

DM'd you on Discord @LeeBamberTGC

Thanks for looking at this :)

LeeBamberTGC commented 4 months ago

@OldFlak I loaded your simple level, changed the puddle to 93 in the bias, saved, ran test level, returned to editor, still shows 93. Saved the level. Then exited MAX, relaunched, loaded the saved level, checked the material and it still shows BIAS of 93: image Can you provide a step by step scenario using your level where this value is reset, thanks!

OldFlak commented 4 months ago

Hi @LeeBamberTGC thanks for looking into it. The step-by-step guide is in the OP, or just do what you did in your previous post.

After testing in response to your last post, I found that a value of 93.750 comes in as 93.000 after restarting MAX

LeeBamberTGC commented 4 months ago

@OldFlak Solved in the next DEVTEST branch, replacing the float value slider with an integer slider. Bias values are set internally as integer values so this reduces confusion and does not result in the different values when save and reload.

OldFlak commented 4 months ago

@LeeBamberTGC thanks Lee - will check when get home and close if all good :)

OldFlak commented 4 months ago

This issue is sorted nicely - thanks @LeeBamberTGC