✅ Solved: Shadows not rendering in runtime + very awkward outlines of objects - Web Runtime Compl...

I'm experiencing a critical issue where the web runtime completely fails to render feathered shadow fills that display perfectly in the Rive editor.

Issue Details:

  • Animation looks perfect in Rive editor with soft feathered shadows

  • Web runtime drops ALL feathered fills entirely - no shadows render at all

  • Only solid fills with hard edges display correctly

  • Issue persists across different opacity levels (tested 10%-100%)

  • Problem occurs even with simple test cases (single rectangle + feathered shadow)

Technical Setup:

  • Browser: Microsoft Edge

  • OS: Windows 11

  • Runtime: React

  • Using useRive React hook with WebGL renderer

  • Also tested with Canvas renderer - same issue

  • Target size: 800×450px display, exported at 1920×1080px

  • Animation contains multiple elements with feathered second fills as drop shadows

Code Configuration:

import { useRive, Layout, Fit, Alignment } from "@rive-app/react-canvas";

export default function CreateCourseAnimation() {
  const { RiveComponent } = useRive({
    src: "/assets/animations/courses.riv",
    renderer: "webgl",
    autoplay: true,
    layout: new Layout({
      fit: Fit.Fill,
      alignment: Alignment.Center,
    }),
  });

  return <RiveComponent style={{ width: 800, height: 450 }} />;
}
<div className="my-auto hidden md:block">
            <CreateCourseAnimation />
          </div>

What I've Tried:

  • Switched between WebGL and Canvas renderers

  • Adjusted shadow opacity from 10% to 100%

  • Tested various export resolutions

  • Created minimal test files with simple shapes

  • Verified layer stacking and clipping masks

Expected vs Actual:

  • Expected: Soft, feathered shadows matching editor preview

  • Actual: No shadows whatsoever, only hard-edged solid fills

Workaround Found: Solid rectangle shadows work fine, but feathered fills are completely ignored by the runtime.

This appears to be a fundamental rendering bug in the web runtime. The feature works perfectly in the editor but fails completely in the primary deployment target.

Can you please investigate this feathered fill rendering issue? It's blocking production deployment of otherwise completed animations.

PS. Editor VS runtime screenshots are to be found below!

Thanks,

Johan


RUNTIME:

EDITOR: