Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Feature: understand why bPostProcessEnabled is false and what will happen after enabling it #356

@q4a

Description

@q4a

I would like to understand:

  • why bPostProcessEnabled is false?
  • should I rewrite it from asm to HLSL?
  • what will happen after enabling it?

Some log from discord - already known information:

q4a — 03.05.2021
I wanted to understand what current shaders do and started with small one:
https://github.com/storm-devs/storm-engine/blob/develop/src/techniques/postprocess/postprocess_shader.h
But looks like it was disabled and newer calls because of this line commented out:
https://github.com/storm-devs/storm-engine/blob/develop/src/libs/renderer/sdevice.cpp#L361
It was modified in this commit:
02d86a9#diff-d19d7f5cf5224e1c43653497eae01f143fa786809b3c5bcf651d98e13db8720aL391
and I would like to know - should I ignore this shader or better remove it?

kb31 — 03.05.2021
Honestly, I do not remember why did I disable it
Likely it was causing issues
I think we should try to turn it back anyway

q4a — 03.05.2021
when I turned on it in code and engine.ini - I got black screen instead of intro video

kb31 — 03.05.2021
That might be because some code is missing from dx9render.cpp...

cooodesloth — 03.05.2021
@q4a you could also try to find a related commit in the thunderstorm fork to know exactly why it was disabled

q4a — 03.05.2021
I found: storm-devs/thunderstorm-engine@696d2eb

cooodesloth — 03.05.2021
seems like it was disabled even before storm-devs/thunderstorm-engine@696d2eb#diff-7baa1c729b48852f3fa56b26eb0338225e2071f7e2ae4697c86835bccb8348e7L736

kb31 — 03.05.2021
Yeah as I said I disabled it long time ago
As I recall now, I likely tried to achieve correct sequence of directx device free
So this was not meant to be disabled forever, that's why the shader was not removed

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions