Commit Graph

65 Commits

Author SHA1 Message Date
Robin KAY a50107426b Change render_layers example to use point lighting since Bevy 0.8 bug is fixed. 2023-01-14 02:45:56 +00:00
Robin KAY b414243baa Add render_layers example. 2023-01-14 02:38:53 +00:00
Robin KAY ae1fe650c6 Merge pull request #9 from mxgrey/outline_render_layers_v0.2
Introduce OutlineRenderLayers for masking which views an outline appears on.
2023-01-14 02:36:03 +00:00
Robin KAY cfd5d12261 Update version and change-log for 0.3.1. 2023-01-05 03:07:40 +00:00
Robin KAY c70c3d3b76 Fix interpolation of enabled flag. 2023-01-05 02:58:10 +00:00
Robin KAY 7b5650fbdb Add non-flat depth mode. 2023-01-03 02:06:45 +00:00
Robin KAY 10f2d985d3 Add Lerp trait impls for outline volume and stencil types. 2022-12-31 04:57:13 +00:00
Robin KAY 20a9386437 Update read-me and change-log for 0.3.0. 2022-11-22 22:43:41 +00:00
Robin KAY cc388a5f61 Factor outline definition into variable. 2022-11-22 22:42:25 +00:00
Robin KAY fd5cfd0a1c Fix whitespace. 2022-11-22 22:37:29 +00:00
Robin KAY 055a5115dd Update top-level docs. 2022-11-22 21:30:54 +00:00
Robin KAY d41057f905 Restrict more internal symbols to crate visibility. 2022-11-22 20:20:45 +00:00
Robin KAY 4a292ca6bc Rename Outline component to OutlineVolume. 2022-11-22 19:11:36 +00:00
Robin KAY 5ae478efe1 Port to Bevy 0.9. 2022-11-22 00:05:47 +00:00
Robin KAY 8afc8f9d14 Add SetOutlineDepth component. 2022-11-21 23:46:36 +00:00
Robin KAY a792cca681 Fix phase item sorting to use ComputedOutlineDepth. 2022-11-21 23:44:52 +00:00
Robin KAY 59d867bf1f Add offset field to OutlineStencil and offset_zero flag to pipeline key. 2022-11-21 20:32:25 +00:00
Robin KAY 5898d7c17c Change mesh pipeline key to a bitfield. 2022-11-20 21:40:22 +00:00
Robin KAY 0f9c52cc38 Fix animated_fox example. 2022-11-18 21:43:15 +00:00
Robin KAY e86c6d6c60 Unify stencil and volume shaders. 2022-11-18 00:50:52 +00:00
Robin KAY 95b3a5b298 Fix leftover use of the align16 feature. 2022-11-17 22:17:04 +00:00
Robin KAY 55dd3a07a8 Rename OutlinePlane to OutlineDepth. 2022-11-17 22:15:13 +00:00
Robin KAY e1c845c434 Add ComputedOutlinePlane and an example. 2022-11-17 00:25:54 +00:00
Robin KAY 6781476bf0 Remove errant debug println. 2022-10-13 01:06:04 +01:00
Robin KAY af6afd1ff1 Update version and change-log for 0.2.4. 2022-10-12 18:44:05 +01:00
Robin KAY 0f4098714b Add support for jointed (skinned) models. 2022-10-12 18:31:02 +01:00
Robin KAY 5a2dc4a728 Update version and change-log for 0.2.3. 2022-08-28 11:19:43 +01:00
Robin KAY 94e1742b44 Add AutoGenerateOutlineNormalsPluign. 2022-08-28 11:00:20 +01:00
Robin KAY 4cf0082cbb Fix typo. 2022-08-23 23:01:01 +01:00
Robin KAY 6ce40ab774 Update version and change-log for 0.2.2. 2022-08-23 22:49:24 +01:00
Robin KAY 96e5b2ca48 Add documentation on feature flags to README. 2022-08-23 22:41:08 +01:00
Robin KAY 4fe9443feb Add feature to control 16 byte alignment of uniforms. 2022-08-23 22:16:59 +01:00
Robin KAY 2ac918d63a Fix error on platforms that require 16 byte aligned uniforms such as WebGL. 2022-08-23 21:44:02 +01:00
Robin KAY f0d5a92fbd Fix compilation on platforms with 32-bit usize. 2022-08-23 21:42:34 +01:00
Robin KAY 6191d0270e Add transitive feature dependencies of bevy_ui to features section. 2022-08-23 01:25:40 +01:00
Robin KAY 3280318dd1 Merge pull request #3 from dollisgame/reduce-dependencies
Minimise bevy feature dependencies and add bevy_ui feature.
2022-08-22 00:47:18 +01:00
Robin KAY 558423f15d Fix typo. 2022-08-10 21:35:49 +01:00
Robin KAY f88c373d73 Update version and change-log for 0.2.1. 2022-08-10 21:26:25 +01:00
Robin KAY 1609736ba2 Add constant to expose outline pass node name. 2022-08-10 21:16:26 +01:00
Robin KAY a66e7f99d3 Fix bad derive allows inserting OutlineBundle as a component. 2022-08-10 20:11:27 +01:00
Robin KAY cb9966da79 Fix outlines causing UI to disappear when MSAA is enabled. 2022-08-10 01:34:50 +01:00
Robin KAY 4996c9d108 Fix trailing whitespace. 2022-08-09 01:49:20 +01:00
Robin KAY d32b00f6a0 Update README and add change-log. 2022-08-09 01:48:38 +01:00
Robin KAY c5e5c8e98f Add crate level doc comment. 2022-08-09 01:41:33 +01:00
Robin KAY a05529928f Revise comment about outline normals. 2022-08-09 00:52:52 +01:00
Robin KAY 02b9b7c49f Add comments to shapes example. 2022-08-08 23:57:14 +01:00
Robin KAY 5736faf0c1 Add comment about outline normals. 2022-08-08 23:56:50 +01:00
Robin KAY ce228d1c2d Add OutlineBundle. 2022-08-08 22:53:27 +01:00
Robin KAY 75dcc9077c Add visible flag to Outline component. 2022-08-08 22:40:38 +01:00
Robin KAY 3dd9c4c367 Change generate_outline_normals() not to if they equal regular normals. 2022-08-08 19:27:52 +01:00