Skip to content

[VISUAL] Custom Core shader with control over hardcoded variables #92

@Blixibon

Description

@Blixibon

Is your feature request related to a problem? Please describe.

prop_coreball currently only functions properly when it's located at 2688, 12139, 5170, which are the coordinates from when it's used in Half-Life 2: Episode One. It also has other hardcoded properties based on its single instance, such as a sphere diameter of 430.

Describe the solution you'd like

Modders should be able to place prop_coreball anywhere and be able to control the parameters of its appearance without having to worry about it looking different from its intended effect.

Describe alternatives you've considered

There are not really any alternatives to this except maybe creating something completely different to serve the same purpose, which wouldn't have much appeal for the amount of effort it would have compared to this.


Additional context

The Core shader's source files are available in the Source 2007 SDK. New material variables can be added for origin, diameter, etc. and may need to be set by material proxies (e.g. EntityOrigin) in the involved VMT(s).

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or requestShadersMapbase - Involves the shaders

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions