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

Use shaders to disable shadows from some models #11

Open
hemebond opened this issue Apr 19, 2024 · 0 comments
Open

Use shaders to disable shadows from some models #11

hemebond opened this issue Apr 19, 2024 · 0 comments
Assignees

Comments

@hemebond
Copy link
Owner

Raton has brought to my attention, and MrC has confirmed it in the below example, that shaders can be used to disable shadows being cast from certain textures and models by using the dpnoshadow keyword. An example from MrC:

progs/flame.mdl_0
{
	dpnoshadow
	{
		map progs/flame.mdl_0
		rgbgen lightingDiffuse
	}
}

progs/flame2.mdl_0
{
	dpnoshadow
	{
		map progs/flame2.mdl_0
		rgbgen lightingDiffuse
	}
}

progs/lavaball.mdl_0
{
	dpnoshadow
	{
		map progs/lavaball.mdl_0
		rgbgen lightingDiffuse
	}
}
@hemebond hemebond self-assigned this Apr 19, 2024
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

1 participant