Skip to content

Commit

Permalink
fixed OGRE EXCEPTION(2:InvalidParametersException) produced by compos…
Browse files Browse the repository at this point in the history
…itor pass 'Mipmap Generation (HQ)' - fixed compositor script load/store actions
  • Loading branch information
dyunchik authored and Eugene Golushkov committed Dec 10, 2024
1 parent 80052d6 commit 4948d0a
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Samples/Media/2.0/scripts/Compositors/PlanarReflections.compositor
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ compositor_node PlanarReflectionsReflectiveRenderingNode

pass generate_mipmaps
{
load
{
depth dont_care
stencil dont_care
}
store
{
depth dont_care
stencil dont_care
}
mipmap_method compute_hq

profiling_id "Mipmap Generation (HQ)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,16 @@ compositor_node ScreenSpaceReflectionsPostprocessNode

pass generate_mipmaps
{
load
{
depth dont_care
stencil dont_care
}
store
{
depth dont_care
stencil dont_care
}
mipmap_method compute_hq
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ compositor_node Terra/GpuNormalMapper

pass generate_mipmaps
{
load
{
depth dont_care
stencil dont_care
}
store
{
depth dont_care
stencil dont_care
}
}
}
}
Expand All @@ -33,6 +43,16 @@ compositor_node Terra/GpuNormalMapperU16

pass generate_mipmaps
{
load
{
depth dont_care
stencil dont_care
}
store
{
depth dont_care
stencil dont_care
}
}
}
}
Expand Down

0 comments on commit 4948d0a

Please sign in to comment.