Skip to content

Commit

Permalink
Blue Channel Bloom Intencity
Browse files Browse the repository at this point in the history
  • Loading branch information
TerminalAide0017 committed Mar 22, 2024
1 parent 656b0e0 commit 84419e0
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ This version is some extra polish ontop of `1.02`. It fixes so small issues, and
- Fixed an issue were a rouge `.` instead of `\.` in my regex was causing crashes in some situations.
- Fixed an issue where the keybind to disable the mod was not toggling back on.

# Version 1.042

## Additions
- Blue channel of `ps-t69`now controls bloom intencity.

# Version 1.05 (Planned)
Shadow Shading and a default UV Animation that doesn't suck.
Change HullHack to use different CustomShaders instead of passing the information to the vertex shader.
2 changes: 1 addition & 1 deletion Main.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ namespace = TexFx

; Variables & Resources ------------------------------
[Constants]
global $version = 1.041
global $version = 1.042
global persist $uncensor = 1
global $hull_hack
global $texfx_on = 1
Expand Down
5 changes: 3 additions & 2 deletions hic_sunt_dracones/DiffusePixelShaderRegex.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ if_z ${ini}.y\n
\t\t\t mov o1.w, ${tex69}.y\n
\t\t endif\n
; Blue Channel
;\t\t ge ${dim}.w, ${tex69}.z, l(0.6)\n
;\t\t discard_nz ${dim}.w\n
\t\t if_nz ${tex69}.z\n
\t\t\t mov o4.x, ${tex69}.z\n
\t\t endif\n
; Red Channel
\t\t discard_nz ${tex69}.x\n
\t endif\n
Expand Down
9 changes: 2 additions & 7 deletions hic_sunt_dracones/OutlinePixelShaderRegex.ini
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,9 @@ if_z ${ini}.y\n
\t if_nz ${dim}.xy\n
\t\t sample_indexable(texture2d)(float,float,float,float) ${tex69}.xyzw, v2.xy, t69.xyzw, s0\n
; Green Channel
; \t\t if_nz ${tex69}.y\n
; \t\t\t mov o1.w, ${tex69}.y\n
; \t\t endif\n

; Blue Channel
; \t\t ge ${dim}.w, ${tex69}.z, l(0.2)\n
; \t\t lt ${dim}.z, ${tex69}.z, l(0.8)\n
; \t\t and ${dim}.w, ${dim}.w, ${dim}.z\n
; \t\t discard_nz ${dim}.w\n

;Red Channel
\t\t discard_nz ${tex69}.x\n
\t endif\n
Expand Down
2 changes: 1 addition & 1 deletion hic_sunt_dracones/OutlineWithDiffuseColor0.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ void main(
o2.xyz = r2.xyz;
o2.w = 1.0;
o3.x = 0.0;
o4.x = 0.0;
o4.x = mask.z;
o5.x = 0.0;

return;
Expand Down
2 changes: 1 addition & 1 deletion hic_sunt_dracones/OutlineWithDiffuseColor1.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void main(
o2.xyz = r2.xyz;
o2.w = 1;
o3.x = 0.0;
o4.x = 0.0;
o4.x = mask.z;
o5.x = 0.0;

return;
Expand Down

0 comments on commit 84419e0

Please sign in to comment.