Page 1 of 1

Phong issues

PostPosted: Sat Oct 21, 2017 4:29 pm
by InterValve
I followed instructions exactly and yet I can't get the phong shader to work on Source 2007 .So I'm thinking, can someone give me a very basic working material on a 1 poly model.Something tested so we can be sure it works.I can't seem to find any on the net and the example is always the best tutorial.I wouldn't have asked otherwise.

Re: Phong issues

PostPosted: Mon Oct 23, 2017 10:45 am
by LordDz
Ask your question in the source modding community instead, it's much more active.
http://www.moddb.com/groups/source-deve ... ord-server

Re: Phong issues

PostPosted: Tue Oct 24, 2017 12:00 pm
by kraid
You have to give more information about your issue.

In this case: please show your material script and the textures you're using.

Re: Phong issues

PostPosted: Wed Oct 25, 2017 8:08 pm
by InterValve
Yea.Sure. It's also a good occasion to test my files. Always best to test.

Code: Select all
"VertexlitGeneric"
{
$basetexture "models/sphere/texture"
//$model 1
$phong 1
//$basemapluminancephongmask 1
$bumpmap "models/sphere/texture_phongmask"
$phongexponenttexture "models/sphere/textureRfl"
//$phongexponent 30
$phongboost 1.0
$phongfresnelranges "[0.05 0.5 1]"
}


The model is a sphere.I will post it the next day if necessary.