add integer material funcs, remove some stubs