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

$envmapsphere 1 breaks projectedtexture lights #6058

Open
Vuthakral opened this issue Nov 7, 2024 · 0 comments
Open

$envmapsphere 1 breaks projectedtexture lights #6058

Vuthakral opened this issue Nov 7, 2024 · 0 comments
Labels
Shaders The issue relates to shaders.

Comments

@Vuthakral
Copy link

Details

Anything with $envmapshere 1 does not react to projected texture lighting, such as the player's flashlight.

Here is an example on a Half-Life 1 Gordon model I am currently working on, the grey metal regions are the only ones being altered. I have left the material for the orange bits of the suit to $envmapsphere 1 to demonstrate the consistency of all three instances.
Image

My VMT:

"VertexLitGeneric"
{
	$basetexture	"models\vuthakral\hl1\characters\gordon_promo\gordon_promo"

	$envmap		"models\vuthakral\hl1\characters\gordon_promo\sphere_grey"
	$envmapsphere	1
}

Steps to reproduce

  1. Point a projected texture light source at an object with the $envmapsphere parameter set to 1.
@robotboy655 robotboy655 added the Shaders The issue relates to shaders. label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Shaders The issue relates to shaders.
Projects
None yet
Development

No branches or pull requests

2 participants