Skip to content

Match LCD field names with shader structure ( CBufEnginePost )#70

Merged
IJARika merged 1 commit into
mainfrom
rlcd_field_names_cleanup
Jul 12, 2025
Merged

Match LCD field names with shader structure ( CBufEnginePost )#70
IJARika merged 1 commit into
mainfrom
rlcd_field_names_cleanup

Conversation

@Mauler125

Copy link
Copy Markdown
Collaborator

Match the RLCD asset type field names with the member field names found in the CBufEnginePost shader structure (this is indirectly mapped to the shader). This allows for clearer documentation and avoids confusion when looking up the CBufEnginePost member variables and comparing them with the ones found in LcdScreenEffect_s.

New example of the LCD screen effect asset ( lcd_screen_effect/lcd_titanscreen_startup.rpak ):

{
	"pixelScaleX1": -0.500000,
	"pixelScaleX2": -0.500000,
	"pixelScaleY": -0.500000,
	"brightness": -1.000000,
	"contrast": -5.000000,
	"waveScale": 0.000000,
	"waveOffset": 0.000000,
	"waveSpeed": 0.000000,
	"wavePeriod": 0.000000,
	"bloomAdd": 0.200000,
	"reserved": 0,
	"pixelFlicker": 0.400000
}

Match the RLCD asset type field names with the member field names found in the CBufEnginePost shader class (this is indirectly mapped to the shader). This allows for clearer documentation and avoids confusion when looking up the CBufEnginePost member variables and comparing them with the ones found in LcdScreenEffect_s.
@IJARika IJARika merged commit 1dd0fa7 into main Jul 12, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants