summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2023-01-29 06:53:43 +1100
committer Vas Crabb <vas@vastheman.com>2023-01-29 06:53:43 +1100
commiteaa43879cd2ae2e4c7bf7d685e8650a32277eea7 (patch)
tree598d9eab839851d279ab68cdbdf778ad4f3cf38a /hlsl
parent5671484fc87fc11b536a0b0f6cb0efb1e680d489 (diff)
render/bgfx: Got rid of a lot of unnecessary object copying during setup.
Diffstat (limited to 'hlsl')
-rw-r--r--hlsl/focus.fx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hlsl/focus.fx b/hlsl/focus.fx
index 4d768890279..edf855db152 100644
--- a/hlsl/focus.fx
+++ b/hlsl/focus.fx
@@ -82,7 +82,7 @@ uniform float2 Defocus = float2(0.0f, 0.0f);
// now this pass is applied only once with offsets of 0.25, 0.55, 1.0, 1.6 to achieve the same appearance as before till a maximum defocus of 2.0
static const float2 CoordOffset8[8] =
{
- // 0.075x� + 0.225x + 0.25
+ // 0.075x² + 0.225x + 0.25
float2(-1.60f, 0.25f),
float2(-1.00f, -0.55f),
float2(-0.55f, 1.00f),