Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual effects are visible in the program but not in the player #56

Closed
Gaspode8 opened this issue Jul 3, 2022 · 6 comments
Closed

Visual effects are visible in the program but not in the player #56

Gaspode8 opened this issue Jul 3, 2022 · 6 comments

Comments

@Gaspode8
Copy link

Gaspode8 commented Jul 3, 2022

Describe the bug
Visual effects are visible in the program but not in the exported exe played with the player

Please complete the following information):

  • OS: win
  • Version: 3.2.2 (NOT standalone)
  • Graphics card: NVIDIA GeForce GTX 960

To Reproduce
Steps to reproduce the behavior:

  1. Copy and paste the example below
  2. Export it and run in it with the player

Or create an Op-sequence of
Text->RenderTarget->Glow->Output

Expected behavior
In the example is a text with a glow. The text is visible, the glow isn't.

Additional context
Below is an example. Bt the problem occurs with other Ops like KochKaleidoskope, Blur etc.

@Gaspode8
Copy link
Author

Gaspode8 commented Jul 3, 2022

[
{
"Name": "Object",
"Id": "fa8331cd-dfaa-4a03-b95e-fcad41f96cc1",
"Inputs": [],
"Children": [
{
"Id": "9609ff86-60f1-4cf5-8fd9-3bf2ce7f0796"/Text/,
"SymbolId": "fd31d208-12fe-46bf-bfa3-101211f8f497",
"InputValues": [],
"Outputs": []
},
{
"Id": "18ebf2f0-adb0-48b6-ad94-af3d0b80efb5"/RenderTarget/,
"SymbolId": "f9fe78c5-43a6-48ae-8e8c-6cdbbc330dd1",
"InputValues": [],
"Outputs": []
},
{
"Id": "ba95ff50-69eb-4bfc-86f9-7cb3255753e3"/Glow/,
"SymbolId": "d392d4af-4c78-4f4a-bc3f-4c54c8c73538",
"InputValues": [
{
"Id": "4927a3fc-87ff-44e7-88c0-499e3efcca55"/GlowAmount/,
"Type": "System.Single",
"Value": 0.55
}
],
"Outputs": []
}
],
"Connections": [
{
"SourceParentOrChildId": "9609ff86-60f1-4cf5-8fd9-3bf2ce7f0796",
"SourceSlotId": "3f8b20a7-c8b8-45ab-86a1-0efcd927358e",
"TargetParentOrChildId": "18ebf2f0-adb0-48b6-ad94-af3d0b80efb5",
"TargetSlotId": "4da253b7-4953-439a-b03f-1d515a78bddf"
},
{
"SourceParentOrChildId": "18ebf2f0-adb0-48b6-ad94-af3d0b80efb5",
"SourceSlotId": "7a4c4feb-be2f-463e-96c6-cd9a6bad77a2",
"TargetParentOrChildId": "ba95ff50-69eb-4bfc-86f9-7cb3255753e3",
"TargetSlotId": "f6bdd487-c16e-4fb0-bfba-b3801f121314"
}
]
},
{
"Id": "fa8331cd-dfaa-4a03-b95e-fcad41f96cc1"/Object/,
"InputUis": [],
"SymbolChildUis": [
{
"ChildId": "9609ff86-60f1-4cf5-8fd9-3bf2ce7f0796"/Text/,
"Size": {
"X": 110.0,
"Y": 23.0
},
"Position": {
"X": 1190.3899,
"Y": 364.9026
}
},
{
"ChildId": "18ebf2f0-adb0-48b6-ad94-af3d0b80efb5"/RenderTarget/,
"Size": {
"X": 110.0,
"Y": 36.0
},
"Position": {
"X": 1340.3899,
"Y": 364.9026
}
},
{
"ChildId": "ba95ff50-69eb-4bfc-86f9-7cb3255753e3"/Glow/,
"Size": {
"X": 110.0,
"Y": 36.0
},
"Position": {
"X": 1490.3899,
"Y": 364.9026
}
}
],
"OutputUis": []
}
]

@Gaspode8
Copy link
Author

Gaspode8 commented Jul 3, 2022

Log-file (Player) shows an error:

18:09:28.995 (Info): Failed to create pixel shader 'image-fx-bloom.hlsl'.
18:09:28.995 (Warning): Trying to issue draw call, but pixel and/or vertex shader are null.
18:09:28.996 (Error): Failed to compile shader 'image-fx-bloom.hlsl': Unable to find file
Using previous resource state.
18:09:28.996 (Info): Failed to create pixel shader 'image-fx-bloom.hlsl'.
18:09:28.996 (Warning): Trying to issue draw call, but pixel and/or vertex shader are null.

@Gaspode8
Copy link
Author

Gaspode8 commented Jul 3, 2022

'image-fx-bloom.hlsl' is missing under Resources/lib/img/fx

But inside Tooll the log-file shows no errors on export.

@Gaspode8
Copy link
Author

Gaspode8 commented Jul 3, 2022

With Toolls standalone-version the glow is exported correctly!
With the "normal" version it isn't. On my computer. :o)

@sense-amr
Copy link
Contributor

yes all you need to do is copy the Player directory from the Visual Studio version to the Standalone root folder and export functionality should be available in Standalone.. preview 3.2.2

@Gaspode8
Copy link
Author

Gaspode8 commented Jul 4, 2022

This issue can be closed. It was a problem with changed internal Ops.

@pixtur pixtur closed this as completed Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants