react-native-filament
Version:
A real-time physically based 3D rendering engine for React Native
21 lines (20 loc) • 606 B
JavaScript
;
import React from 'react';
import { EnvironmentalLight } from './EnvironmentalLight';
import { Light } from './Light';
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
export function DefaultLight() {
return /*#__PURE__*/_jsxs(_Fragment, {
children: [/*#__PURE__*/_jsx(EnvironmentalLight, {
source: {
uri: 'RNF_default_env_ibl.ktx'
}
}), /*#__PURE__*/_jsx(Light, {
type: "directional",
intensity: 10_000,
colorKelvin: 6_500,
castShadows: true
})]
});
}
//# sourceMappingURL=DefaultLight.js.map