Newbie Help on writing custom Shaders
I'm totally new to scripting, and I'm looking to create some custom shaders.
I had a look at a tutorial on creating an xray material and followed it to completion. all went well.
what I need to be able to do is create a standard material with a brick/tile texture in diffuse slot. I then need to be able to control the color of the bricks.
I know how to setup the rollout and parameters but what I can't seem to get right is setting up the inital material.
on create do
Delegate.diffusemap = Bricks()
Delegate.diffusemap.BrickType = 2
Delegate.diffusemap.Brick_color = [221,174,91]
Delegate.diffusemap.Vertical_count = 20
Delegate.diffusemap.Horizontal_count = 20
Delegate.diffusemap.Color_Variance = 0.3
Delegate.diffusemap.Fade_Variance = 0.1
Delegate.diffusemap.Mortar_Color = [150,150,150]
The Bricktype property doesn't work, the rest seems to be ok. How do I change the Brick type to running bond?
Can someone please help.