github playcanvas/engine v1.62.0

latest releases: v1.71.5, v1.71.4, v1.71.3...
19 months ago

What's Changed

This release breaks most lit/frag chunks. Most of these chunks have had their signatures changed to accept the various values they need, instead of relying on globals. With that said, most globals are still set in the shader. An example of this change is:

vec3 combineColor() {
    vec3 ret = vec3(0);
    ret = dAlbedo * dDiffuseLight;
    ...
}

Is now expressed:

vec3 combineColor(vec3 albedo, vec3 sheenSpecularity, float clearcoatSpecularity) {
    vec3 ret = vec3(0);
    ret = albedo * dDiffuseLight;
    ...
}

The affected chunks are documented here: https://dev-developer.playcanvas.com/en/user-manual/graphics/shader-chunk-migrations/#engine-v162

Breaking changes

New features

Fixes

Examples

Full Changelog: v1.61.3...v1.62.0

Don't miss a new engine release

NewReleases is sending notifications on new releases.