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

Using float3 in vkBasalt.conf #193

Open
efecan-kutluk opened this issue Sep 3, 2022 · 2 comments
Open

Using float3 in vkBasalt.conf #193

efecan-kutluk opened this issue Sep 3, 2022 · 2 comments

Comments

@efecan-kutluk
Copy link

efecan-kutluk commented Sep 3, 2022

the following DPX configuration gives error due to the comma seperated float3 values

[dpx]
Colorfulness=2.500000
Contrast=0.100000
RGB_C=0.268000,0.340000,0.340000
RGB_Curve=15.000000,15.000000,15.000000
Saturation=0.800000
Strength=0.200000

What is the proper way of setting float3 values in vkBasalt.conf?

@efecan-kutluk efecan-kutluk changed the title Porting comma seperated configuration values to vkBasalt.conf Using float3 in vkBasalt.conf Sep 3, 2022
@Hammermaniac
Copy link

Bumping this because I want to know this too! I've been trying things like:

blendcolor_s = 0.0f,0.365f,1.0f
## and ##
blendcolor_s = 0.0f, 0.365f, 1.0f
## and ##
blendcolor_s = float3( 0.0, 0.365, 1.0 )
## and ##
blendcolor_s = 0.000000,0.365000,1.000000

A bunch of others too, I just have not been able to figure this out, I can't use PD80_03_Shadows_Midtones_Highlights.fx because I don't know how to specify it.

Any help would be appreciated. :)

@Hammermaniac
Copy link

Hammermaniac commented Dec 3, 2022

I read that float2 and float3 values can't be specified in vkBasalt.conf, see https://www.reddit.com/r/linux_gaming/comments/hl3981/need_some_help_figuring_this_issue_out/

I've tried setting it in the shader file PD80_03_Shadows_Midtones_Highlights.fx as said in the reddit post, but still no luck. I'm trying to get this working on Cyberpunk 2077, but it won't launch with that shader, all the others (which doesn't have float2 or float3 values, e.g. PD80_05_Sharpening.fx and PD80_03_Filmic_Adaptation.fx) do work.

I'm on Kubuntu 22.04, though I'm using the packaged version of vkBasalt using apt, but I don't think that would be the cause.

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

2 participants