-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area: graphicsGraphics related issueGraphics related issuebugSomething isn't workingSomething isn't working
Description
We have existing Material-anisotropic example. Now that the anisotropy implementation was modified in #7668, the example looks differently, which needs to be investigated. Two issues:
- The example calls
material.anisotropy = ((2 * x) / (NUM_SPHERES_X - 1) - 1.0) * -1.0;which uses the deprecated API, and needs to be adjusted to use the new API - Visually, I would hope the example to still somehow look visually similar to what it was before, but it seems the low aniso and low roughness looks very different (left bottom corner).
before: https://playcanvas.vercel.app/#/graphics/material-anisotropic

now: https://engine-ege9es532-playcanvas.vercel.app/#/graphics/material-anisotropic

Note that I adjusted the camera to see the whole scene better:

I see that this example looks as expected: https://engine-ege9es532-playcanvas.vercel.app/#/graphics/anisotropy-strength
And so perhaps the conversion of the old deprecated value to new value needs adjustment?
pinging @emadurandal
Metadata
Metadata
Assignees
Labels
area: graphicsGraphics related issueGraphics related issuebugSomething isn't workingSomething isn't working