-
Notifications
You must be signed in to change notification settings - Fork 28
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
New materials become Phong shaded in old engines #1239
Comments
@aidinabedi So we only officially support the latest version and previous minor in our editor. Unfortunately this means engines prior to v1.75.1 have phong as the default shading model as opposed to physical in newer versions. Maintaining multiple versions of engines in the editor its very strenuous on our team as they will require difference schema changes and ultimately keeping legacy support restricts our ability and scope to add new features to the engine/editor. If you would like to stick to older engines in the editor the best solution IMO is:
|
possibly another report here: https://forum.playcanvas.com/t/material-rendering-issue-last-editor-version/38528 |
So initially we had removed the property shader entirely from the editor but due to doing release reverts we decided to keep it in and force it to |
Description
New materials created in the editor (after v1.47.0) don't get a
shader
property. This causes the materials to be phong shaded when used in engine version 1.75.0 or older (seejson-standard-material.js
line 105). Although this issue doesn't happen in newer engine versions, a lot of projects (ours included) are still on much older engine versions than 1.75.0.Steps to Reproduce
blinn
:use_local_engine
)New Material
no longer has shading modelblinn
:The text was updated successfully, but these errors were encountered: